Sunan Ibn Majah – Hadith No : 1411

It wasnarrated that Jasrah bint Dijajah said: “I heard Abu Dharrsay:‘The Prophet (ﷺ) stood reciting a Verse and repeating it untilmorning came. That Verse was: “If you punish them, they are Yourslaves, and if You forgive them, verily You, only You, are theAll-Mighty, the All-Wise.’”” [5:118]

Hadith In Arabic Text :

حدثنا بكر بن خلف أبو بشر، حدثنا يحيى بن سعيد، عن قدامة بن عبد الله، عن جسرة بنت دجاجة، قالت سمعت أبا ذر، يقول قام النبي صلى الله عليه وسلم بآية حتى أصبح يرددها والآية ‏{إن تعذبهم فإنهم عبادك وإن تغفر لهم فإنك أنت العزيز الحكيم}‏ ‏.‏

Chapter : Establishing the Prayer and the Sunnah Regarding Them – كتاب إقامة الصلاة والسنة فيها