Sayyiduna Abu Hurayrah (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) led us in one of the prayers after the sun's decline, either Zuhr or Asr, but my strongest belief is that it was Asr. He (peace and blessings be upon him) led two rak'ahs, then after giving the salam he stood leaning against a piece of wood in the mosque, and he (peace and blessings be upon him) was very angry. The people who hurry out left, saying: The prayer has been shortened, the prayer has been shortened. Among the people there were Sayyiduna Abu Bakr and Sayyiduna Umar (may Allah be pleased with them both), and they too were too awed to speak. A man named Sayyiduna Dhu al-Yadayn (may Allah be pleased with him) stood up and said: O Messenger of Allah, have you forgotten, or has the prayer been shortened? He (peace and blessings be upon him) asked: "What is Dhu al-Yadayn saying?" The Companions (may Allah be pleased with them) said: O Messenger of Allah, he is speaking the truth. So the Messenger of Allah (peace and blessings be upon him) led us in two rak'ahs, then gave the salam, then said the takbir and prostrated, then raised his head from the prostration saying the takbir, then said the takbir and prostrated like his usual prostrations or longer, then raised his head saying the takbir.
(b) Muhammad states: I was informed via Sayyiduna Imran bin Husayn (may Allah be pleased with him) that he said: "And he gave the salam."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3894