Uqba bin Amir reported,

We said to the Prophet ﷺ, "You send us out, and we end up staying with people who do not show us hospitality. What do you think we should do?"He said to us, "If you stay with people and they provide you with what is due to a guest, accept it. But if they do not, then take from them the guest's due."

Bukhari 2461

Sahih

حدثنا عبد الله بن يوسف حدثنا الليث قال حدثني يزيد عن أبي الخير

عن عقبة بن عامر قال

قلنا للنبي ﷺ إنك تبعثنا فننزل بقوم لا يقرونا فما ترى فيه فقال لنا إن نزلتم بقوم فأمر لكم بما ينبغي للضيف فاقبلوا فإن لم يفعلوا فخذوا منهم حق الضيف

البخاري 2461صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Injustices
Chapter
Retaliation of the wronged person when he finds the property of his wrongdoer
Numbering
Darussalam 2461
Bukhari 2461