Muwatta Imam Malik Book of Forgetfulness in Prayer, Hadith 2
Yahya related to me from Malik that he had heard that the Messenger of Allah ﷺ said, "I forget or I am made to forget so that I may establish the sunna."
وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ " إِنِّي لأَنْسَى أَوْ أُنَسَّى لأَسُنَّ " .