Hadith Q566

إِذِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سَجَدَ وَسَجَدَ الْمُسْلِمُونَ مَعَهُ وَالْمُشْرِكُونَ جَمِيعًا، إِلَّا الرَّجُلَيْنِ اللَّذَيْنِ أَرَادَا الشُّهْرَةَ، وَقَدْ قَرَأَ زَيْدُ بْنُ ثَابِتٍ عِنْدَ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ النَّجْمَ فَلَمْ يَسْجُدْ وَلَمْ يَأْمُرْهُ- عَلَيْهِ السَّلَامُ-، وَلَوْ كَانَ السُّجُودُ فَرِيضَةً لَأَمَرَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِهَا، وَلَوْ لَمْ تَكُنْ فِي النَّجْمِ سَجْدَةٌ كَمَا تَوَهَّمَ بَعْضُ النَّاسِ لِعِلَّةِ هَذَا الْخَبَرِ الَّذِي سَنَذْكُرُهُ إِنْ شَاءَ اللَّهُ، لَمَا سَجَدَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي النَّجْمِ‏.‏
Because when the Prophet (ﷺ) prostrated, the Muslims also prostrated with him, and all the polytheists except for two fame-seeking individuals also prostrated. Hazrat Zaid bin Thabit (may Allah be pleased with him) recited Surah Najm to the Prophet (ﷺ) and did not prostrate, and the Prophet (ﷺ) did not order him to prostrate. If the prostration of recitation had been obligatory, the Prophet (ﷺ) would have ordered him to prostrate. And if there was no prostration in Surah Najm, as some people have misunderstood due to the reason of a certain hadith which we will soon mention (InshaAllah), then the Prophet (ﷺ) would not have prostrated in Surah Najm.
Hadith Reference صحيح ابن خزيمه / جماع أبواب الأذان والإقامة / Q566