He said: I heard the Messenger of Allah (ﷺ) using these words as a supplication and I like to follow his practice.
The transmitter, Abbas, said in this version: And you say: "O Allah! I seek refuge in You from infidelity and poverty. O Allah! I seek refuge in You from punishment in the grave. There is no god but You". You repeat them three times in the morning and three times in the evening, and use them as a supplication. I like to follow his practice.
He said: The Messenger of Allah (ﷺ) said: The supplications to be used by one who is distressed are: "O Allah! Your mercy is what I hope for. Do not abandon me to myself for an instant, but put all my affairs in good order for me. There is no god but You." Some transmitters added more than others.
In-book : Book 43, Hadith 318
English translation : Book 42, Hadith 5071