The Messenger of Allah ﷺ said, "Hospitality is for three days. Whatever is given beyond that is charity."
حدثنا عبد الرزاق أخبرنا معمر عن الجريري عن أبي نضرة
قال رسول الله ﷺ الضيافة ثلاث فما زاد على ذلك فهو صدقة
Its isnad is sahih, and the hadith has already appeared at 9529.