It is narrated from Sayyiduna Abu Shurayh al-Ka'bi (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever believes in Allah and the Last Day, let him honour his neighbour; whoever believes in Allah and the Last Day, let him speak good or remain silent; and whoever believes in Allah and the Last Day, let him honour his guest. His special hospitality is one day and one night, and hospitality is three days; whatever is after that is charity. And it is not lawful for the guest to stay with his host so long that he compels him to put him out."
Both narrations have the same wording.
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18695
Sayyiduna Abu Shurayh al-Adawi (may Allah be pleased with him) said: My ears heard and my eyes saw when the Messenger of Allah (peace and blessings be upon him) said this: "Whoever believes in Allah and the Last Day, let him honour his guest, (giving) his special hospitality." The people said: O Messenger of Allah, what is his special hospitality? He (peace and blessings be upon him) said: "One day and one night, and hospitality is three days; whatever is beyond that is charity from the host to him. And he should not stay with him so long that he has to put him out." And he said: "Whoever believes in Allah and the Last Day, let him speak good or remain silent."
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18696
It is narrated from Sayyiduna Abu Shurayh al-Khuza'i (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever believes in Allah and the Last Day, let him speak good or remain silent; whoever believes in Allah and the Last Day, let him not harm his neighbour; whoever believes in Allah and the Last Day, let him honour his guest, (giving) his special hospitality." It was asked: What is his special hospitality? He (peace and blessings be upon him) said: "One day and one night."
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18697
It is narrated from Sayyiduna Abu Shurayh al-Khuza'i (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever believes in Allah and the Last Day, let him honour his guest. His special hospitality is one day and one night. It is not lawful for him (the guest) to stay with his host so long that he has to put him out. Hospitality is three days; whatever is spent on him after that is charity."
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18698
It is narrated from Sayyiduna Abu Shurayh al-Khuza'i (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Hospitality is three days; whatever is more than that is charity."
Hadith Referenceالمعجم الكبير للطبراني / باب الهاء / 18699