Uqba bin Amir reported,

We said, "Messenger of Allah, you send us out and we stay with people who do not show us hospitality. What do you think?"The Messenger of Allah ﷺ said to us, "If you stay with people and they offer you what is fitting for a guest, accept it. If they do not, then take from them the guest's due that they owe you."

Azami 14439

Sahih

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

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

الأعظمي 14439صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of hospitality, and feeding food
Section
Right of the guest
Numbering
Jami al-Kamil 14439 (2nd edition)
Azami 14439