Sayyiduna Imran bin Husayn (may Allah be pleased with him) said: Among the supplications of the Messenger of Allah (peace and blessings be upon him) was: "O Allah, forgive me the faults I committed by mistake, and those I committed deliberately, and those I did in secret, and those I did openly, and those I did in ignorance."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15333