Abu Nu’aym says: Abu Mus’ab (may Allah be pleased with him) said: I kept the company of Anas bin Malik, Zayd bin Arqam and Mughirah bin Shu’bah (may Allah be pleased with them), and I heard this hadith from all three: when the Prophet ﷺ went inside the cave, a tree grew at the mouth of the cave by the command of Allah the Exalted, and it covered the entrance of the cave, and by the divine command two wild pigeons made a nest there.
Meanwhile, some young men of Quraysh, with one person from each tribe among them, set out in search of the Prophet ﷺ carrying sticks, spears and swords, and in their search they reached close to the cave. Their distance from the Prophet ﷺ was only forty yards.
At that moment, one of them looked toward the cave and said: I can see a pigeons’ nest at the mouth of the cave. It seems that no one has ever entered it. (Otherwise this nest would have been broken apart.) The Prophet ﷺ heard that man’s words and knew that Allah the Exalted had protected us through these pigeons.
So the Prophet ﷺ made supplication for them: he asked Allah for good for them and appointed the best reward for this deed of theirs, and for this reason their offspring live in the Haram of the Ka’bah.
Verification of the Hadith:
All the chains of narration of this report are da’if (weak).