Abu Hurairah reported,

Fatimah came to the Prophet ﷺ asking him for a servant.He said to her, "I have nothing to give you."So she returned. Later, he came to her and asked, "Is what you requested dearer to you, or something better than it?"Ali said to her, "Say, 'Rather, what is better than it.'"So she said that.He then said, "Say, 'O Allah, Lord of the seven heavens and Lord of the mighty Throne, our Lord and the Lord of everything, the One who sent down the Torah, the Gospel, and the magnificent Quran. You are the First, so there is nothing before You. You are the Last, so there is nothing after You. You are the Manifest, so there is nothing above You. You are the Hidden, so there is nothing beyond You. Settle our debt for us and free us from poverty.'"

Ibn Majah 3831

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا محمد بن أبي عبيدة حدثنا أبي عن الأعمش عن أبي صالح

عن أبي هريرة قال

أتت فاطمة النبي ﷺ تسأله خادما فقال لها ما عندي ما أعطيك فرجعت فأتاها بعد ذلك فقال الذي سألت أحب إليك أو ما هو خير منه فقال لها علي قولي لا بل ما هو خير منه فقالت فقال قولي اللهم رب السماوات السبع ورب العرش العظيم ربنا ورب كل شيء منزل التوراة والإنجيل والقرآن العظيم أنت الأول فليس قبلك شيء وأنت الآخر فليس بعدك شيء وأنت الظاهر فليس فوقك شيء وأنت الباطن فليس دونك شيء اقض عنا الدين وأغننا من الفقر

ابن ماجه 3831صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Supplication
Chapter
Supplication of the Messenger of Allah ﷺ
Numbering
Darussalam 3831
Ibn Majah 3831