The Messenger of Allah (ﷺ) said: "Whoever forgets a prayer, let him pray it when he remembers it."
Sunan an-Nasa'i Book 6, Hadith 120