عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ عَنْ قَيْسِ بْنِ عَمْرو
قَالَ: رَأَى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَجُلًا يُصَلِّي بَعْدَ صَلَاةِ الصُّبْحِ رَكْعَتَيْنِ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاة الصُّبْحِ رَكْعَتَيْنِ رَكْعَتَيْنِ» فَقَالَ الرَّجُلُ: إِنِّي لَمْ أَكُنْ صَلَّيْتُ الرَّكْعَتَيْنِ اللَّتَيْنِ قَبْلَهُمَا فَصَلَّيْتُهُمَا الْآنَ. فَسَكَتَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
Muhammad ibn Ibrahim on the authority of Qais ibn Amr told how when the prophet saw a man praying two rakas after the Morning Prayer he said, “At the Morning Prayer pray two rakas.”
The man replied I had not prayed the two rakas which precede them, so I prayed themjust now, and God’s Messenger said nothing. Abu Dawud transmitted it. Tirmidhi transmitted something similar, saying, “The isnad of this tradition is not connected, because Muhammad ibn Ibrahim did not hear from Qais ibn Amr.” There is something similar in Sharh as-sunna and in some texts of al-Masabih from Qais ibn Qahd.