We said, "O Messenger of Allah ﷺ! 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?" Messenger of Allah ﷺ 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." (Using translation from Bukhārī 6137)
قُلْنَا لِرَسُولِ اللهِ ﷺ إِنَّكَ تَبْعَثُنَا فَنَنْزِلُ بِقَوْمٍ فَلَا يَقْرُونَا فَمَاذَا تَرَى فِي ذَلِكَ؟ فَقَالَ لَنَا رَسُولُ اللهِ ﷺ «إِنْ نَزَلْتُمْ بِقَوْمٍ فَأَمَرُوا لَكُمْ بِمَا يَنْبَغِي لِلضَّيْفِ فَاقْبَلُوا فَإِنْ لَمْ يَفْعَلُوا فَخُذُوا مِنْهُمْ بِحَقِّ الضَّيْفِ الَّذِي يَنْبَغِي لَهُمْ»