Abu Dharr said that God’s Messenger kept awake during the night till morning reciting one verse, which was, “If Thou punishest them they are Thy servants; and if Thou forgivest them Thou art the Mighty, the Wise”(Al-Qur’an; 5:118). Nasa’i and Ibn Majah transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب الصلاة / 1205
Hadith Gradingالألبانی:صَحِيح | زبیر علی زئی:إسناده حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده حسن، رواه النسائي (177/2 ح 1011) و ابن ماجه (1350) [و صححه الحاکم 1/ 241 ووافقه الذهبي. ]»