Sunan Ibn Majah, Book 34, Hadith 5 (In-Book) ⓘ
It was narrated that Abu Hurairah said: "Fatimah came to the Prophet (saas) to ask him for a servant, and he said: 'I do not have anything to give you.' So she went back, but after that he came to her and said: 'Is what you asked for dearer to you, or something better than that?' 'Ali said to her: 'Say: something better than that.' So she said it. He said: 'Say: Allahumma Rabbas-samawatis-Sab'i wa Rabbal-'Arshil-'Azim, Rabbana wa Rabba Kulli shay'in, munzil at-Tawrati wal-Injili wal-Qur'anil-'Azim. Antal-Awwalu fa laysa qablaka shay', wa Antal-Akiru fa laysa ba'daka shay', Antaz-Zahiru fa laysa fawqaka shay', wa Antal-Batinu fa laysa dunaka shay', Iqdi 'annad-daina wa aghnina minal-faqr (O Allah, Lord of the seven heavens and Lord of the Mighty Throne, Our Lord, and the Lord of Everything, Revealer of the Tawrah, the Injil and the Magnificent Qur'an. You are the First and there is nothing after You; You are the Last and there is nothing after You. You are the Most High, and there is nothing above You, and You are the Most Near and there is nothing nearer than You. Settle our debts and make us free of want).'"
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا مُحَمَّدُ بْنُ أَبِي عُبَيْدَةَ، حَدَّثَنَا أَبِي، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ أَتَتْ فَاطِمَةُ النَّبِيَّ ـ صلى الله عليه وسلم ـ تَسْأَلُهُ خَادِمًا فَقَالَ لَهَا " مَا عِنْدِي مَا أُعْطِيكِ " . فَرَجَعَتْ فَأَتَاهَا بَعْدَ ذَلِكَ فَقَالَ " الَّذِي سَأَلْتِ أَحَبُّ إِلَيْكِ أَوْ مَا هُوَ خَيْرٌ مِنْهُ " . فَقَالَ لَهَا عَلِيٌّ قُولِي لاَ بَلْ مَا هُوَ خَيْرٌ مِنْهُ فَقَالَتْ فَقَالَ " قُولِي اللَّهُمَّ رَبَّ السَّمَوَاتِ السَّبْعِ وَرَبَّ الْعَرْشِ الْعَظِيمِ رَبَّنَا وَرَبَّ كُلِّ شَىْءٍ مُنْزِلَ التَّوْرَاةِ وَالإِنْجِيلِ وَالْقُرْآنِ الْعَظِيمِ أَنْتَ الأَوَّلُ فَلَيْسَ قَبْلَكَ شَىْءٌ وَأَنْتَ الآخِرُ فَلَيْسَ بَعْدَكَ شَىْءٌ وَأَنْتَ الظَّاهِرُ فَلَيْسَ فَوْقَكَ شَىْءٌ وَأَنْتَ الْبَاطِنُ فَلَيْسَ دُونَكَ شَىْءٌ اقْضِ عَنَّا الدَّيْنَ وَأَغْنِنَا مِنَ الْفَقْرِ " .
also referenced under: Hadith 3831 (Reference) & Volume 5, Book 34, Hadith 3831 (DarusSalam)