Sayyiduna Miqdam bin Ma'dikarib (may Allah be pleased with him) says that the Prophet (peace and blessings be upon him) said: "When people do not host a guest and the guest spends the morning in a state of deprivation, it is an obligation on every Muslim to take for him the share of his night's hospitality from their crops and wealth."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجزية / 18695