It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) entered Makkah on the day of the Conquest, Abu Sufyan came and said: O Messenger of Allah! Quraysh has been made lawful; there will be no Quraysh after today. The Messenger of Allah (peace and blessings be upon him) said: "Whoever shuts his door is safe, and whoever enters the house of Abu Sufyan is safe." Then he narrated something like the hadith of Hammad bin Salamah.
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7236