Sahih al-Bukhari 1071
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُسَدَّدٌ، قَالَ حَدَّثَنَا عَبْدُ الْوَارِثِ، قَالَ حَدَّثَنَا أَيُّوبُ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما أَنَّ النَّبِيَّ صلى الله عليه وسلم سَجَدَ بِالنَّجْمِ وَسَجَدَ مَعَهُ الْمُسْلِمُونَ وَالْمُشْرِكُونَ وَالْجِنُّ وَالإِنْسُ. وَرَوَاهُ ابْنُ طَهْمَانَ عَنْ أَيُّوبَ.
Narrated Ibn `Abbas:
The Prophet (ﷺ) I prostrated while reciting An-Najm and with him prostrated the Muslims, the pagans, the jinns, and all human beings.
Full reference and source
Sahih al-Bukhari 1071 In-book : Book 17, Hadith 5 USC-MSA web (English) : Vol. 2, Book 19, Hadith 177 (deprecated)
View source on Sunnah.com (opens in a new tab)