Mishkat al-Masabih
Book 30, Hadith 303
Arabic hadith text
وَعَنِ ابْنِ عَبَّاسٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِنَّ اللَّهَ تَجَاوَزَ عَنْ أُمَّتِي الْخَطَأَ وَالنِّسْيَانَ وَمَا اسْتُكْرِهُوا عَلَيْهِ» . رَوَاهُ ابْن مَاجَه وَالْبَيْهَقِيّ
Translation
Ibn ʿAbbas reported that the Messenger of Allah ﷺ said: ‘Allah has pardoned my community for mistakes, forgetfulness, and what they are compelled to do.’ Ibn Majah and al-Bayhaqi transmitted it.