Sunan Ibn Majah, Book 5, Hadith 548 (Ibn Majah 1350)

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.’””