Sunan an-Nasa'i #1010 · The Book of the Commencement of the Prayer

Sunan an-Nasa'iJasrah bint Dijajah said
Sunan an-Nasa'i · Book 11 · The Book of the Commencement of the Prayer
Sunan an-Nasa'i · كتاب 11 · كتاب افتتاح الصلاة
"I heard Abu Dharr say: 'The Prophet (ﷺ) stayed up all night repeating one verse. The verse was: 'If You punish them, they are Your slaves, and if You forgive them, verily, You, only You, are the All-Mighty, the All-Wise
أَخْبَرَنَا نُوحُ بْنُ حَبِيبٍ، قَالَ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ الْقَطَّانُ، قَالَ حَدَّثَنَا قُدَامَةُ بْنُ عَبْدِ اللَّهِ، قَالَ حَدَّثَتْنِي جَسْرَةُ بِنْتُ دَجَاجَةَ، قَالَتْ سَمِعْتُ أَبَا ذَرٍّ، يَقُولُ قَامَ النَّبِيُّ صلى الله عليه وسلم حَتَّى أَصْبَحَ بِآيَةٍ وَالآيَةُ ‏{‏ إِنْ تُعَذِّبْهُمْ فَإِنَّهُمْ عِبَادُكَ وَإِنْ تَغْفِرْ لَهُمْ فَإِنَّكَ أَنْتَ الْعَزِيزُ الْحَكِيمُ ‏}‏ ‏.‏
Reference : Sunan an-Nasa'i 1010In-book reference : Book 11, Hadith 135