Language:
كتاب المظالم
46  
Oppressions
(18)
Chapter: The retaliation of the oppressed person
(18)
باب قِصَاصِ الْمَظْلُومِ إِذَا وَجَدَ مَالَ ظَالِمِهِ
Sahih al-Bukhari 2461

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

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، حَدَّثَنَا اللَّيْثُ، قَالَ حَدَّثَنِي يَزِيدُ، عَنْ أَبِي الْخَيْرِ، عَنْ عُقْبَةَ بْنِ عَامِرٍ، قَالَ قُلْنَا لِلنَّبِيِّ صلى الله عليه وسلم إِنَّكَ تَبْعَثُنَا فَنَنْزِلُ بِقَوْمٍ لاَ يَقْرُونَا فَمَا تَرَى فِيهِ فَقَالَ لَنَا ‏ "‏ إِنْ نَزَلْتُمْ بِقَوْمٍ، فَأُمِرَ لَكُمْ بِمَا يَنْبَغِي لِلضَّيْفِ فَاقْبَلُوا، فَإِنْ لَمْ يَفْعَلُوا فَخُذُوا مِنْهُمْ حَقَّ الضَّيْفِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 2461
In-book reference : Book 46, Hadith 22
USC-MSA web (English) reference : Vol. 3, Book 43, Hadith 641
  (deprecated numbering scheme)