Sahih al-Bukhari 2461
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 to the Prophet, "You send us out and it happens that we have to stay with people who do not entertain us. What do you think about it? He said to us, "If you stay with some people and they entertain you as they should for a guest, accept their hospitality, but if they don't, take the right of the guest from them."
Full reference and source
Sahih al-Bukhari 2461 In-book : Book 46, Hadith 22 USC-MSA web (English) : Vol. 3, Book 43, Hadith 641 (deprecated)
View source on Sunnah.com (opens in a new tab)