It is narrated from Abu Huraira (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) recited Surah An-Najm, he (peace be upon him) performed prostration and everyone except two men performed prostration with him. He (peace be upon him) said: "These two sought fame."
Hadith Referenceمسند الإمام الشافعي / كتاب الصلاة / 333
Hadith Takhrijأخرجه البيهقي في معرفة السنن والآثار: 1117 - وأحمد: 2/ 304 ۔ وابن أبي شيبة : 4253.