I heard ʿAsim bin Damrah say: We asked ‘Ali ؓ about the prayer of the Messenger of Allah ﷺ during the day and he said: You cannot do that. We said: Whoever among us is able to do it [will do it]. He said: When the sun was as high there as it is there the time of ‘Asr, he prayed two rakʿahs, When the sun was as high there as it is there at the time of Zuhr, he prayed four rak’ahs. He prayed four rakʿahs before Zuhr and two afterwards, and [he prayed] four rakʻahs before ‘Asr, separating each two rakʿahs with the greeting (tasleem) upon the angels who are close to Allah, the Prophets, and those who follow them of the believers and the Muslims.
عَنْ صَلاةِ رَسُولِ اللهِ ﷺ مِنَ النَّهَارِ فَقَالَ إِنَّكُمْ لَا تُطِيقُونَ ذَلِكَ قُلْنَا مَنِ اطَاقَ مِنَّا ذَلِكَ؟ قَالَ إِذَا كَانَتِ الشَّمْسُ مِنْ هَاهُنَا كَهَيْئَتِهَا مِنْ هَاهُنَا عِنْدَ الْعَصْرِ صَلَّى رَكْعَتَيْنِ وَإِذَا كَانَتِ الشَّمْسُ مِنْ هَاهُنَا كَهَيْئَتِهَا مِنْ هَاهُنَا عِنْدَ الظُّهْرِ صَلَّى أَرْبَعًا وَيُصَلِّي قَبْلَ الظُّهْرِ أَرْبَعًا وَبَعْدَهَا رَكْعَتَيْنِ وَقَبْلَ الْعَصْرِ أَرْبَعًا وَيَفْصِلُ بَيْنَ كُلِّ رَكْعَتَيْنِ بِالتَّسْلِيمِ عَلَى الْمَلائِكَةِ الْمُقَرَّبِينَ وَالنَّبِيِّينَ وَمَنْ تَبِعَهُمْ مِنَ المُؤْمِنِينَ وَالْمُسْلِمِينَ