[Machine] He entered the mosque and the Prophet, ﷺ , was praying and had not yet completed the two units of prayer. He prayed with the Prophet, ﷺ . After completing his prayer, he stood up and performed the two units of the dawn prayer. The Prophet, ﷺ , noticed this and said, "O Qais, what are these two units?" He informed him of what he had done, and the Prophet, ﷺ , did not object to it.
أَنَّهُ دَخَلَ الْمَسْجِدَ وَالنَّبِيُّ ﷺ يُصَلِّي وَلَمْ يَكُنْ صَلَّى الرَّكْعَتَيْنِ فَصَلَّى مَعَ النَّبِيِّ ﷺ فَلَمَّا قَضَى صَلَاتَهُ قَامَ فَرَكَعَ رَكْعَتَي الْفَجْرِ فَبَصُرَ بِهِ النَّبِيُّ ﷺ فَقَالَ «يَا قَيْسُ مَا هَاتَانِ؟» فَأَخْبَرَهُ بِالَّذِي صَنَعَ فَلَمْ يُنْكِرْ ذَلِكَ عَلَيْهِ النَّبِيُّ ﷺ