Hadithcore
Sunan Abi Dawud, 5051
sahih· Al-Albani

Abu Hurairah said:

when the prophet (ﷺ) went to his bed, he used to say : O Allah! Lord of the heavens, Lord of the earth, Lord of everything, who splittest the grain and the kernel, who have sent down the Torah, forelock You seizes. You are the first and there is nothing before you; You are the Last and there is nothing after You; You are the Outward and there is nothing above You; You are the Inward and there is nothing below You. Wahb added in his version : pay the debt for me and grant me riches instead of poverty.

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا وُهَيْبٌ، ح وَحَدَّثَنَا وَهْبُ بْنُ بَقِيَّةَ، عَنْ خَالِدٍ، نَحْوَهُ عَنْ سُهَيْلٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ كَانَ يَقُولُ إِذَا أَوَى إِلَى فِرَاشِهِ ‏"‏ اللَّهُمَّ رَبَّ السَّمَوَاتِ وَرَبَّ الأَرْضِ وَرَبَّ كُلِّ شَىْءٍ فَالِقَ الْحَبِّ وَالنَّوَى مُنَزِّلَ التَّوْرَاةِ وَالإِنْجِيلِ وَالْقُرْآنِ أَعُوذُ بِكَ مِنْ شَرِّ كُلِّ ذِي شَرٍّ أَنْتَ آخِذٌ بِنَاصِيَتِهِ أَنْتَ الأَوَّلُ فَلَيْسَ قَبْلَكَ شَىْءٌ وَأَنْتَ الآخِرُ فَلَيْسَ بَعْدَكَ شَىْءٌ وَأَنْتَ الظَّاهِرُ فَلَيْسَ فَوْقَكَ شَىْءٌ وَأَنْتَ الْبَاطِنُ فَلَيْسَ دُونَكَ شَىْءٌ ‏"‏ ‏.‏ زَادَ وَهْبٌ فِي حَدِيثِهِ ‏"‏ اقْضِ عَنِّي الدَّيْنَ وَأَغْنِنِي مِنَ الْفَقْرِ ‏"‏ ‏.‏

References2 variants
In-Book Reference
Book 43, Hadith 279
English Reference
Book 42, Hadith 5033
Related hadiths1
Compare isnād across 1 related chains →