The Prophet (ﷺ) said: Hospitality extend for three days, and what goes beyond that is sadaqah (charity).
Sunan Abi Dawud Book 28, Hadith 14