Sayyiduna Ibn Abbas (may Allah be pleased with them both) reports: The Messenger of Allah (peace and blessings be upon him) said: “Allah Almighty has pardoned my Ummah for mistakes, forgetfulness, and what they are compelled to do.”
Related hadith on this topic