Sahih al-Bukhari 6137
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنْ نَزَلْتُمْ بِقَوْمٍ فَأَمَرُوا لَكُمْ بِمَا يَنْبَغِي لِلضَّيْفِ فَاقْبَلُوا، فَإِنْ لَمْ يَفْعَلُوا فَخُذُوا مِنْهُمْ حَقَّ الضَّيْفِ الَّذِي يَنْبَغِي لَهُمْ "
Narrated `Uqba bin 'Amir:
We said, "O Allah's Messenger (ﷺ)! 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 Messenger (ﷺ) 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."
Full reference and source
Sahih al-Bukhari 6137 In-book : Book 78, Hadith 164 USC-MSA web (English) : Vol. 8, Book 73, Hadith 159 (deprecated)
View source on Sunnah.com (opens in a new tab)