Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:4390Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > Aḥmad b. Ṣāliḥ > Ibn Wahb > Yūnus > Ibn Shihāb > Ibn al-Musayyib > Abū Hurayrah

[Machine] That the Messenger of Allah, ﷺ , when he returned from the Battle of Khaybar, he mentioned the Hadith and in the end he said: "Whoever forgets a prayer, let him pray it when he remembers it; for indeed, Allah, the Most High, said: 'Establish prayer for My remembrance.' " Yunus said, "Ibn Shihab used to recite it in this manner."  

البيهقي:٤٣٩٠أنبأ أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا أَحْمَدُ بْنُ صَالِحٍ ثنا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنِ ابْنِ الْمُسَيِّبِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ حِينَ قَفَلَ مِنْ غَزْوَةِ خَيْبَرَ فَذَكَرَ الْحَدِيثَ وَفِي آخِرِهِ قَالَ مَنْ نَسِيَ صَلَاةً فَلْيُصَلِّهَا إِذَا ذَكَرَهَا؛ فَإِنَّ اللهَ تَعَالَى قَالَ أَقِمِ الصَّلَاةَ لِلذِّكْرَى قَالَ يُونُسُ وَكَانَ ابْنُ شِهَابٍ يَقْرَؤُهَا كَذَلِكَ  

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ حَرْمَلَةَ عَنِ ابْنِ وَهْبٍ

See similar narrations below:

Collected by Nasāʾī
nasai:620Sūwayd b. Naṣr > ʿAbdullāh > Maʿmar > al-Zuhrī > Saʿīd b. al-Musayyab

"The Messenger of Allah ﷺ said: 'Whoever forgets a prayer, let him pray it when he remembers it, for Allah says: "and perform prayer when you remember (li dhikra).'" I said to Az-Zuhri: "Is that how the Messenger of Allah ﷺ recited it?" He said: "Yes."  

النسائي:٦٢٠أَخْبَرَنَا سُوَيْدُ بْنُ نَصْرٍ قَالَ حَدَّثَنَا عَبْدُ اللَّهِ عَنْ مَعْمَرٍ عَنِ الزُّهْرِيِّ عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ نَسِيَ صَلاَةً فَلْيُصَلِّهَا إِذَا ذَكَرَهَا فَإِنَّ اللَّهَ تَعَالَى يَقُولُ { أَقِمِ الصَّلاَةِ لِلذِّكْرَى } قُلْتُ لِلزُّهْرِيِّ هَكَذَا قَرَأَهَا رَسُولُ اللَّهِ ﷺ قَالَ نَعَمْ