Sahih al-Bukhari, Book 65, Hadith 443 (Bukhari 4715)

Narrated Jabir bin `Abdullah:

The Prophet (ﷺ) said, "I was in a seclusion in the cave of Hira........."(similar to the narration related by `Ali bin Al-Mubarak, 444 above).