Sunan Ibn Majah, Volume 2, Book 5, Hadith 1350 (DarusSalam) ⓘ
It was narrated that Jasrah bint Dijajah said: “I heard Abu Dharr say: ‘The Prophet stood reciting a Verse and repeating it until morning came. That 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.’”” [5:118]
حَدَّثَنَا بَكْرُ بْنُ خَلَفٍ أَبُو بِشْرٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ قُدَامَةَ بْنِ عَبْدِ اللَّهِ، عَنْ جَسْرَةَ بِنْتِ دَجَاجَةَ، قَالَتْ سَمِعْتُ أَبَا ذَرٍّ، يَقُولُ قَامَ النَّبِيُّ ـ صلى الله عليه وسلم ـ بِآيَةٍ حَتَّى أَصْبَحَ يُرَدِّدُهَا وَالآيَةُ {إِنْ تُعَذِّبْهُمْ فَإِنَّهُمْ عِبَادُكَ وَإِنْ تَغْفِرْ لَهُمْ فَإِنَّكَ أَنْتَ الْعَزِيزُ الْحَكِيمُ} .
also referenced under: Hadith 1350 (Reference) & Book 5, Hadith 1411 (In-Book)