Umm Sulaym came to the Prophet ﷺ and said, “O Messenger of Allāh, teach me some words I can ask (Allāh) with.”
He ﷺ said: “Proclaim Allāh’s great distance, Mighty is He and Majestic, from any kind of imperfection (by saying “SubḥānAllāh”) ten times; glorify Him with praise (by saying “Alḥamdulillāh”) ten times; and extol His Greatness above all things (by saying “Allāhu Akbar”) ten times.
Then after that, ask for what you need, for He (will) certainly then say: “Indeed, I have done it; indeed, I have done it.”
[Aḥmad, at-Tirmidhī, and an-Nasā’ī reported it with their chains of narration, and al-Albānī رحمه الله graded it Ḥasan (acceptable).]