Yahya related to me from Malik from Ayyub ibn Abi Tamima as-Sakhtayani from Muhammad ibn Sirin from Abu Hurayra that the Messengerof Allah, may Allah bless him and grant him peace, finished the prayerafter two rakas and Dhu'l-Yadayn said to him, "Has the prayer beenshortened or have you forgotten, Messenger of Allah?" The Messenger ofAllah, may Allah bless him and grant him peace, said, "HasDhu'l-Yadayn spoken the truth?" The people said, "Yes," and theMessenger of Allah, may Allah bless him and grant him peace, stood andprayed the other two rakas and then said, "Peace be upon you." Then hesaid, "Allah is greater" and went into a sadja as long as his usualprostrations or longer. Then he came up and said, "Allah is greater"and went into a sajda as long as his usual prostrations or longer andthen came up.
App reference: Book 3, Hadith 62
USC-MSA web (English) reference: Book 3, Hadith 62
Arabic reference: Book 3, Hadith 209