It is narrated from Sayyiduna Ali bin Shayban al-Hanafi (may Allah be pleased with him), who was one of the delegation of six people who came to the presence of the Messenger, that he said: "We came to the Messenger of Allah (peace and blessings be upon him) and prayed with him (peace and blessings be upon him). He (peace and blessings be upon him) glanced from the corner of his blessed eye at a man who was not straightening his back in bowing and prostration. When the Messenger of Allah (peace and blessings be upon him) had completed the prayer, he said: 'O assembly of Muslims, there is no prayer for the one who does not straighten his back in bowing and prostration.' Then we prayed another prayer behind him (peace and blessings be upon him), and a man was praying alone behind the row. The Messenger of Allah (peace and blessings be upon him) stood by him until the man had completed his prayer; then the Messenger of Allah (peace and blessings be upon him) said to him: 'Pray your prayer afresh, for there is no prayer for one who prays alone behind the row.'" Imam Abu Ya'la al-Mawsili recorded this hadith from Abdullah bin Badr in abridged form, while Imam Ibn Majah recorded it in his Sunan without the last part, "Then we prayed another prayer behind him (peace and blessings be upon him)"; and its chain is sahih (authentic), as I have explained in my discussion of the Zawa'id of Sunan Ibn Majah. Likewise, Imam Ibn Hibban recorded it in his Sahih and Imam al-Bayhaqi in his Sunan, in full.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب افتتاح الصلاة / 1407
Hadith Gradingمحدثین:أخرجه ابن حبان في صحيحه
Hadith Takhrij«أخرجه سنن ابن ماجه برقم: 871، وأخرجه مسند أحمد برقم: 15862، وأخرجه مصنف ابن أبي شيبة برقم: 2، وأخرجه فتح الباري برقم: 750»