Muwatta Imam Malik Book of Prayer, Hadith 62
Yahya related to me from Malik from Ayyub ibn Abi Tamima as- Sakhtayani from Muhammad ibn Sirin from Abu Hurayra that the Messenger of Allah ﷺ finished the prayer after two rakas and Dhu'l-Yadayn said to him, "Has the prayer been shortened or have you forgotten, Messenger of Allah?" The Messenger of Allah ﷺ said, "Has Dhu'l-Yadayn spoken the truth?" The people said, "Yes," and the Messenger of Allah ﷺ stood and prayed the other two rakas and then said, "Peace be upon you." Then he said, "Allah is greater" and went into a sadja as long as his usual prostrations or longer. Then he came up and said, "Allah is greater" and went into a sajda as long as his usual prostrations or longer and then came up.
حَدَّثَنِي يَحْيَى، عَنْ مَالِكٍ، عَنْ أَيُّوبَ بْنِ أَبِي تَمِيمَةَ السَّخْتِيَانِيِّ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ﷺ انْصَرَفَ مِنَ اثْنَتَيْنِ فَقَالَ لَهُ ذُو الْيَدَيْنِ أَقَصُرَتِ الصَّلاَةُ أَمْ نَسِيتَ يَا رَسُولَ اللَّهِ فَقَالَ رَسُولُ اللَّهِ ﷺ " أَصَدَقَ ذُو الْيَدَيْنِ " . فَقَالَ النَّاسُ نَعَمْ . فَقَامَ رَسُولُ اللَّهِ ﷺ فَصَلَّى رَكْعَتَيْنِ أُخْرَيَيْنِ ثُمَّ سَلَّمَ ثُمَّ كَبَّرَ فَسَجَدَ مِثْلَ سُجُودِهِ أَوْ أَطْوَلَ ثُمَّ رَفَعَ ثُمَّ كَبَّرَ فَسَجَدَ مِثْلَ سُجُودِهِ أَوْ أَطْوَلَ ثُمَّ رَفَعَ .