عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «وَاللَّهِ إِنِّي لِأَسْتَغْفِرُ اللَّهَ وَأَتُوبُ إِلَيْهِ فِي الْيَوْمِ أَكْثَرَ مِنْ سبعينَ مرَّةً» . رَوَاهُ البُخَارِيّ
Translation

Jundub said that God’s messenger told of a man saying, “I swear by God that God will not forgive so and so,” whereupon God most high said, “Who is this who swears that I will not forgive so and so? For I have forgiven so and so and have made your deeds to come to nothing”, or words to that effect. Muslim transmitted it.