Maliks Muwatta Book 4, Hadith Number 2.
Section : What to Do if One Forgets in Prayer.
 Yahya related to me from Malik that he had heard that the Messenger of Allah, may Allah bless him and grant him peace, said, “I forget or I am made to forget so that I may establish the sunna.”