عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم قَالَ:" يَعْقِدُ الشَّيْطَانُ عَلَى قَافِيَةِ رَأْسِ أَحَدِكُمْ إِذَا هُوَ نَامَ ثَلَاثَ عُقَدٍ يَضْرِبُ عَلَى كُلِّ عُقْدَةٍ: عَلَيْكَ لَيْلٌ طَوِيلٌ فَارْقُدْ. فَإِنِ اسْتَيْقَظَ فَذَكَرَ اللَّهَ انْحَلَّتْ عُقْدَةٌ فَإِنْ تَوَضَّأَ انْحَلَّتْ عُقْدَةٌ فَإِنْ صَلَّى انْحَلَّتْ عُقْدَةٌ فَأَصْبَحَ نَشِيطًا طيب النَّفس وَإِلَّا أصبح خَبِيث النَّفس كسلانا "
Translation
Abu Huraira reported God’s Messenger as saying
Our Lord who is blessed and exalted descends every night to the lowest heaven when two-thirds of the night have passed and says, “Who supplicates me so that I may answer him? Who asks of me so that I may give to him? Who asks my forgiveness so that I may forgive him?” (Bukhari and Muslim.) In a version by Muslim it is said that He then spreads out His hands and says, “Who will lend to One who is neither indigent nor unjust?"* till the dawn breaks.*The lending mentioned here is presumably the doing of good works.