It was narrated that Anas bin Malik said:
"The Messenger of Allah said: 'Whoever forgets a prayer, let him perform it when he remembers it.'"