Sunan an Nasai 618
The Book of the Times (of Prayer)
أَخْبَرَنَا عَبْدُ الأَعْلَى بْنُ وَاصِلِ بْنِ عَبْدِ الأَعْلَى، قَالَ حَدَّثَنَا يَعْلَى، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ، عَنِ الزُّهْرِيِّ، عَنْ سَعِيدٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا نَسِيتَ الصَّلاَةَ فَصَلِّ إِذَا ذَكَرْتَ فَإِنَّ اللَّهَ تَعَالَى يَقُولُ { أَقِمِ الصَّلاَةَ لِذِكْرِي } " . قَالَ عَبْدُ الأَعْلَى حَدَّثَنَا بِهِ يَعْلَى مُخْتَصَرًا .
It was narrated that Abu Hurairah said: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:
Grading: Abu Ghuddah: Sahih · Al-Albani: Sahih · Zubair Ali Zai: Sahih Muslim
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.