عَنِ ابْنِ عَبَّاسٍ قَالَ: سَجَدَ النَّبِيُّ صَلَّى الله عَلَيْهِ وَسلم بِالنَّجْمِ وَسَجَدَ مَعَهُ الْمُسْلِمُونَ وَالْمُشْرِكُونَ وَالْجِنُّ وَالْإِنْسُ. رَوَاهُ البُخَارِيّ
Translation
Abu Huraira said

We prostrated ourselves along with the Prophet on account of “When the sky is rent asunder”, Al-Qur’an; 84) and “Recite in the name of your Lord” (Al-Qur’an; 96). Muslim transmitted it.