Sunan Ibn Majah, Volume 5, Book 33, Hadith 3676 (DarusSalam) ⓘ
It was narrated that Uqbah bin Amir said: "We said to the Messenger of Allah: ' You send us and we stay with people who do not show us any hospitality. WHat do you think of that?' The MEssenger of Allah said: 'If you stay with people and they give you what a guest deserves, then accept it. If they do not do that, then take from them what they should have offered, which a guest is entitled to.'"
حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا اللَّيْثُ بْنُ سَعْدٍ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عُقْبَةَ بْنِ عَامِرٍ، أَنَّهُ قَالَ قُلْنَا لِرَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ إِنَّكَ تَبْعَثُنَا فَنَنْزِلُ بِقَوْمٍ فَلاَ يَقْرُونَا فَمَا تَرَى فِي ذَلِكَ . قَالَ لَنَا رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِنْ نَزَلْتُمْ بِقَوْمٍ فَأَمَرُوا لَكُمْ بِمَا يَنْبَغِي لِلضَّيْفِ فَاقْبَلُوا وَإِنْ لَمْ يَفْعَلُوا فَخُذُوا مِنْهُمْ حَقَّ الضَّيْفِ الَّذِي يَنْبَغِي لَهُمْ " .
also referenced under: Hadith 3676 (Reference) & Book 33, Hadith 20 (In-Book)