Sahih al-Bukhari 7387, 7388
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
قُلِ اللَّهُمَّ إِنِّي ظَلَمْتُ نَفْسِي ظُلْمًا كَثِيرًا، وَلاَ يَغْفِرُ الذُّنُوبَ إِلاَّ أَنْتَ، فَاغْفِرْ لِي مِنْ عِنْدِكَ مَغْفِرَةً، إِنَّكَ أَنْتَ الْغَفُورُ الرَّحِيمُ "
Narrated `Abdullah bin `Amr:
Abu Bakr As-Siddiq said to the Prophet (ﷺ) "O Allah's Messenger (ﷺ)! Teach me an invocation with which I may invoke Allah in my prayers." The Prophet (ﷺ) said, "Say: O Allah! I have wronged my soul very much (oppressed myself), and none forgives the sins but You; so please bestow Your Forgiveness upon me. No doubt, You are the Oft-Forgiving, Most Merciful."
Full reference and source
Sahih al-Bukhari 7387, 7388 In-book : Book 97, Hadith 17 USC-MSA web (English) : Vol. 9, Book 93, Hadith 485 (deprecated)
View source on Sunnah.com (opens in a new tab)