It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said: "Whoever forgets a prayer, let him pray it when he remembers it, for Allah says: and perform the Salah for My remembrance." [1] [1] Ta-Ha 20:
SahihSahihSahih MuslimBook 6 · Hadith 126