The Prophet ﷺ prostrated during the recitation of Surah an-Najm, and the Muslims, the polytheists, the jinn, and humankind all prostrated along with him.Ibrahim bin Tahman followed him in this narration from Ayub. Ibn Ulayyah did not mention Ibn Abbas.
حدثنا أبو معمر حدثنا عبد الوارث حدثنا أيوب عن عكرمة
سجد النبي ﷺ بالنجم وسجد معه المسلمون والمشركون والجن والإنس تابعه إبراهيم بن طهمان عن أيوب ولم يذكر ابن علية ابن عباس