Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:4923Muḥammad b. Bashhār > ʿAbd al-Raḥman b. Mahdī And Ghayruh > Ḥarb b. Shaddād > Yaḥyá b. Abū Kathīr > Abū Salamah > Jābir b. ʿAbdullāh

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).  

البخاري:٤٩٢٣حَدَّثَنِي مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ وَغَيْرُهُ قَالاَ حَدَّثَنَا حَرْبُ بْنُ شَدَّادٍ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ أَبِي سَلَمَةَ عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ ؓ

عَنِ النَّبِيِّ ﷺ قَالَ جَاوَرْتُ بِحِرَاءٍ مِثْلَ حَدِيثِ عُثْمَانَ بْنِ عُمَرَ عَنْ عَلِيِّ بْنِ الْمُبَارَكِ