It was narrated that Anas said:
The Messenger of Allah (ﷺ) said: "Whoever forgets a prayer, let him pray it when he remembers it."
English reference: Vol. 1, Book 6, Hadith 614
Arabic reference: Book 6, Hadith 620
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.