Sayyiduna Abu Umamah (may Allah be pleased with him) said: Whenever I came close to your Prophet (peace and blessings be upon him) in an obligatory or voluntary prayer, I heard him (peace and blessings be upon him) supplicating with these very words, neither adding to them nor leaving anything out: "O Allah, forgive me my sins and my errors. O Allah, sustain me, set me right, and guide me to righteous deeds and good character, for none guides to their good and none averts their evil except You."
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7780