It is narrated from Sayyiduna Abu Mas'ud (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "The prayer of that person is not valid who does not straighten his back in bowing and prostration."