The Prophet ﷺ performed prostration when reciting Surah an-Najm, and along with him the Muslims, the polytheists, the jinn, and humankind all prostrated. Ibrahim bin Tahman also narrated it from Ayub.
حدثنا مسدد قال حدثنا عبد الوارث قال حدثنا أيوب عن عكرمة
أن النبي ﷺ سجد بالنجم وسجد معه المسلمون والمشركون والجن والإنس ورواه إبراهيم بن طهمان عن أيوب