Mishkat al-Masabih
Ibn ‘Abbas said that the Prophet (ﷺ) prostrated himself when an-Najm (Al-Qur'an; 53) was revealed, and the Muslims, the ploytheists, jinn and men prostrated themselves along with him. Bukhari transmitted it.
عَنِ ابْنِ عَبَّاسٍ قَالَ: سَجَدَ النَّبِيُّ صَلَّى الله عَلَيْهِ وَسلم بِالنَّجْمِ وَسَجَدَ مَعَهُ الْمُسْلِمُونَ وَالْمُشْرِكُونَ وَالْجِنُّ وَالْإِنْسُ. رَوَاهُ البُخَارِيّ
Reference