Abdullah bin Abbas reported,

The Prophet ﷺ prostrated upon reciting Surah an-Najm, and along with him prostrated the Muslims, the polytheists, the jinn, and the humans. This was when Allah's words were revealed, "So prostrate to Allah and worship Him" [Najm 53:62].

Azami 8595

Sahih

عن ابن عباس قال

سجد النبي ﷺ بالنجم، وسجد معه المسلمون والمشركون والجن والإنس أي لما نزل قوله تعالى: {فاسجدوا لله واعبدوا} [النجم: ٦٢].

الأعظمي 8595صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Mission of the Prophet ﷺ and his life in Makkah
Section
Second emigration of his Companions to Abyssinia
Numbering
Jami al-Kamil 8595 (2nd edition)
Azami 8595