The Messenger of Allah ﷺ and the Muslims prostrated during the recitation of Surah an-Najm, except for two men from Quraysh who refrained from doing so seeking notoriety.
حدثنا وكيع قال حدثنا ابن أبي ذئب عن خاله الحارث بن عبد الرحمن عن أبي سلمة
سجد رسول الله ﷺ والمسلمون في النجم إلا رجلين من قريش أرادا بذلك الشهرة
No references are available.
Its isnad is sahih. Bukhari narrated it, 8/614, no. 4863, from Ibn Masud.