Hadithcore
Sahih al-Bukhari, 6137
sahih

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."

حَدَّثَنَا قُتَيْبَةُ، حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عُقْبَةَ بْنِ عَامِرٍ ـ رضى الله عنه ـ أَنَّهُ قَالَ قُلْنَا يَا رَسُولَ اللَّهِ إِنَّكَ تَبْعَثُنَا فَنَنْزِلُ بِقَوْمٍ فَلاَ يَقْرُونَنَا فَمَا تَرَى، فَقَالَ لَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

‏ إِنْ نَزَلْتُمْ بِقَوْمٍ فَأَمَرُوا لَكُمْ بِمَا يَنْبَغِي لِلضَّيْفِ فَاقْبَلُوا، فَإِنْ لَمْ يَفْعَلُوا فَخُذُوا مِنْهُمْ حَقَّ الضَّيْفِ الَّذِي يَنْبَغِي لَهُمْ ‏

‏‏.‏

References2 variants
In-Book Reference
Book 78, Hadith 164
USC-MSA web (English) reference
Vol. 8, Book 73, Hadith 159 (deprecated numbering scheme)
Related hadiths4
Compare isnād across 4 related chains →