Sunan an-Nasa'i #618 · The Book of the Times (of Prayer)

Sunan an-Nasa'iIt was narrated that Abu Hurairah said
Sunan an-Nasa'i · Book 6 · The Book of the Times (of Prayer)
Sunan an-Nasa'i · كتاب 6 · كتاب مواقيت الصلاة
The Messenger of Allah (ﷺ) said: If you forget a prayer, pray it when you remember it, for Allah says: "and perform the Salah for My remembrance." [1] [1] Ta-Ha 20:
أَخْبَرَنَا عَبْدُ الأَعْلَى بْنُ وَاصِلِ بْنِ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا يَعْلَى، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ إِذَا نَسِيتَ الصَّلاَةَ فَصَلِّ إِذَا ذَكَرْتَ فَإِنَّ اللَّهَ تَعَالَى يَقُولُ ‏{‏ أَقِمِ الصَّلاَةَ لِذِكْرِي ‏}‏ ‏"‏ ‏.‏ قَالَ عَبْدُ الأَعْلَى حَدَّثَنَا بِهِ يَعْلَى مُخْتَصَرًا ‏.‏
Reference : Sunan an-Nasa'i 618In-book reference : Book 6, Hadith 125