Sunan Abi Dawud, Book 28, Hadith 69 (Abu Dawud 3805)

Narrated Al-Miqdam ibn Ma'dikarib:

The Prophet (ﷺ) said: Beware, the fanged beast of prey is not lawful, nor the domestic asses, nor the find from the property of a man with whom treaty has been concluded, except that he did not need it. If anyone is a guest of people who provide no hospitality for him, he is entitled to take from them the equivalent of the hospitality due to him.