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."

Ta-Ha 20:14.
Sunan an-Nasa'i Book 6, Hadith 125