I said: O Abu Hanzalah! He recognized my voice and said: Abu lFadl? I replied: Yes. He said: who is with you, may my parents be a sacrifice for you? I said: Here are the Messenger of Allah (ﷺ) and his people (with him).
He asked: Which is the way out? He said: He rode behind me, and his companion returned. When the morning came, I brought him to the Messenger of Allah (ﷺ) and he embraced Islam.
I said: Messenger of Allah, Abu Sufyan is a man who likes this pride, do something for him. He said: Yes, he who enters the house of Abu Sufyan is safe; he who closes the door upon him is safe; and he who enters the mosque is safe. The people scattered to their houses and in the mosque.
In-book : Book 20, Hadith 95
English translation : Book 19, Hadith 3016