It is narrated from Sayyiduna Ali bin Shayban that he went as part of a delegation to the Prophet (peace and blessings be upon him). He said: We prayed behind the Prophet (peace and blessings be upon him), and he glanced out of the corner of his eyes at a man who was not straightening his back in bowing and prostration. When he finished the prayer, the Prophet (peace and blessings be upon him) said: O assembly of Muslims! There is no prayer for the one who does not straighten his back in bowing and prostration. He also saw a man praying (alone) behind the row, so he stayed there until the man finished, then the Prophet (peace and blessings be upon him) said: Repeat your prayer, for there is no prayer for a man praying alone behind the row.
Hadith Referenceمسند احمد / مسند المدنيين رضي الله عنهم اجمعين / 16297