Sahih Bukhari | Volume 8 | Hadith Number 159

Narrated by Uqba bin 'Amir
We said, "O Allah's Apostle! You send us out and it happens that we have to stay with such people as do not entertain us. What do you think about it?" Allah's Apostle said to us, "If you stay with some people and they entertain you as they should for a guest, accept is; but if they do not do then you should take from them the right of the guest, which they ought to give."