عَنْ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا أَنَّ رَسُولَ اللَّهِ صلى الله عليه و سلم قَالَ: إنَّ اللَّهَ تَجَاوَزَ لِي عَنْ أُمَّتِي الْخَطَأَ وَالنِّسْيَانَ وَمَا اسْتُكْرِهُوا عَلَيْهِ
Meaning: The Messenger of Allah ﷺ said: Allah has pardoned my nation for mistakes, forgetfulness and what they are forced to do.
An-Nawawi: hasan. Al-Albani, Shu'ayb al-Arna'ut and Zubair Ali Zai: sahih. But Ibn Rajab reports that Ahmad strongly rejected it, and that Abu Hatim called such reports rejected. The Quran supports the meaning in 2:286.
Narrated by Abdullah ibn Abbas · Sunan Ibn Majah 2045