Abu Shurayh reported,

The Messenger of Allah ﷺ said, "Whoever believes in Allah and the Last Day should speak good or remain silent. Whoever believes in Allah and the Last Day should honor his neighbor. Whoever believes in Allah and the Last Day should honor his guest. His special hospitality is for one day and night, and his entertainment as a guest is for three days. Whatever is beyond that is charity. It is not permissible for the guest to stay so long that he causes his host hardship."

Azami 14432

Sahih

عن أبي شريح الكعبي

أن رسول الله ﷺ قال: من كان يؤمن بالله واليوم الآخر، فليقل خيرا أو ليصمت، ومن كان يؤمن بالله واليوم الآخر، فليكرم جاره، ومن كان يؤمن بالله واليوم الآخر، فليكرم ضيفه، جائزته يوم وليلة، وضيافته ثلاثة أيام، فما كان بعد ذلك، فهو صدقة، ولا يحل له أن يثوي عنده حتى يحرجه.

الأعظمي 14432صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of hospitality, and feeding food
Section
Hospitality is three days
Numbering
Jami al-Kamil 14432 (2nd edition)
Azami 14432