The Messenger of Allah ﷺ said: Gabriel ﷺ led me in prayer at the House (i.e. the Ka'bah). He prayed the noon prayer with me when the sun had passed the meridian to the extent of the thong of a sandal; he prayed the afternoon prayer with me when the shadow of everything was as long as itself; he prayed the sunset prayer with me when one who is fasting breaks the fast; he prayed the night prayer with me when the twilight had ended; and he prayed the dawn prayer with me when food and drink become forbidden to one who is keeping the fast. On the following day he prayed the noon prayer with me when his shadow was as long as himself; he prayed the afternoon prayer with me when his shadow was twice as long as himself; he prayed the sunset prayer at the time when one who is fasting breaks the fast; he prayed the night prayer with me when about the third of the night had passed; and he prayed the dawn prayer with me when there was a fair amount of light. Then turning to me he said: Muhammad, this is the time observed by the prophets before you, and the time is anywhere between two times. (Using translation from Abū Dāʾūd 393)
قَالَ رَسُولُ اللهِ ﷺ أَمَّنِي جِبْرِيلُ عِنْدَ الْبَيْتِ فَصَلَّى بِي الظُّهْرَ حِينَ زَالَتِ الشَّمْسُ فَكَانَتْ بِقَدْرِ الشِّرَاكِ ثُمَّ صَلَّى بِي الْعَصْرَ حِينَ كَانَ ظِلُّ كُلِّ شَيْءٍ مِثْلَيْهِ ثُمَّ صَلَّى بِي الْمَغْرِبَ حِينَ أَفْطَرَ الصَّائِمُ ثُمَّ صَلَّى بِي الْعِشَاءَ حِينَ غَابَ الشَّفَقُ ثُمَّ صَلَّى بِي الْفَجْرَ حِينَ حَرُمَ الطَّعَامُ وَالشَّرَابُ عَلَى الصَّائِمِ ثُمَّ صَلَّى الْغَدَ الظُّهْرَ حِينَ كَانَ ظِلُّ كُلِّ شَيْءٍ مِثْلَهُ ثُمَّ صَلَّى بِي الْعَصْرَ حِينَ كان ظِلُّ كُلِّ شَيْءٍ مِثْلَيْهِ ثُمَّ صَلَّى بِي الْمَغْرِبَ حِينَ أَفْطَرَ الصَّائِمُ ثُمَّ صَلَّى بِي الْعِشَاءَ إِلَى ثُلُثِ اللَّيْلِ الْأَوَّلِ ثُمَّ صَلَّى بِي الْفَجْرَ فَأَسْفَرَ ثُمَّ الْتَفَتَ إِلَيَّ فَقَالَ يَا مُحَمَّدُ هَذَا وَقْتُ الْأَنْبِيَاءِ مِنْ قَبْلِكَ الْوَقْتُ فِيمَا بَيْنَ هَذَيْنِ الْوَقْتَيْنِ