The Messenger of Allah ﷺ said to me, "Shaddad bin Aws, when you see people hoarding gold and silver, then hoard these words: O Allah, I ask You for steadfastness in my affair, and resolve in following right guidance. I ask You for the means of Your mercy and the certainties of Your forgiveness. I ask You for gratitude for Your blessings and excellence in worshipping You. I ask You for a sound heart and a truthful tongue. I ask You for the good of what You know, and I seek refuge in You from the evil of what You know, and I seek Your forgiveness for what You know. Indeed, You are the Knower of all that is hidden."
قال لي رسول الله ﷺ: يا شداد بن أوس إذا رأيت الناس قد اكتنزوا الذهب والفضة فاكنز هؤلاء الكلمات: اللهم إني أسألك الثبات في الأمر، والعزيمة على الرشد وأسألك موجبات رحمتك وعزائم مغفرتك، وأسألك شكر نعمتك وحسن عبادتك، وأسألك قلبا سليما ولسانا صادقا، وأسألك خير ما تعلم، وأعوذ بك من شر ما تعلم، وأستغفرك لما تعلم إنك أنت علام الغيوب.
Reported by Tabarani in Al-Kabir (4/335–336) and Al-Dua (631) via Sulayman bin Abdul-Rahman, who said, Ismail bin Ayyash told us, Muhammad bin Yazid Rahbi told me, from Abu Ashath Sanani, from Shaddad bin Aws, and he related it.Its chain is hasan because of Ismail bin Ayyash, for he is truthful (saduq) in his narrations from the people of Syria, and this is one of them, since Muhammad bin Yazid Rahbi was a Syrian from Damascus. He too is hasan al-hadith, for a number of narrators related from him, and Ibn Hibban mentioned him among the trustworthy (9/35), and Abu Zura Dimashqi mentioned him in "Naming a Group of People of Chains and Knowledge." See Tarikh Dimashq (56/274–276).Tirmidhi (3407) also reported it via Sufyan (that is, Thawri), and Ahmad (17133) via Yazid bin Harun, both of them from Abu Masud Jareeri, from Abu Ala bin Shakhir, from a man of Banu Hanzala, from Shaddad bin Aws, mentioning something similar. In Ahmad's wording, "The Messenger of Allah ﷺ used to teach us words with which we would supplicate in our prayer, or he said, at the end of our prayer," and then he mentioned the supplication in similar fashion. Its chain contains "a man of Banu Hanzala" as it appears in Tirmidhi's version, or "Hanzali" as it appears in Ahmad's version, and there is no real difference between the two, for he is an unidentified, unnamed man.Nasai (1304) and Ibn Hibban (1974) both reported it via Hammad bin Salama, from Saeed Jareeri, from Abu Ala, from Shaddad bin Aws, that the Messenger of Allah ﷺ used to say in his prayer, "O Allah, I ask You..." and then he mentioned the hadith. It contains a break in the chain, for Abu Ala is Yazid bin Abdullah bin Shakhir, and between him and Shaddad bin Aws stands a man of Banu Hanzala. Hammad bin Salama is among those who narrated from Jareeri before his mixing (of memory) set in. The hadith has other routes as well, none of which are free of some discussion.