Virtue: Narrated by Ahmad (3528) from ‘Abdullah ibn Mas‘ood, who said: The Messenger of Allah (blessings and peace of Allah be upon him) said: “No person suffers any anxiety or grief, and says: (above dua)
O Allah, I am Your slave, son of Your slave, son of Your female slave, my forelock is in Your hand, Your command over me is forever executed and Your decree over me is just. I ask You by every Name belonging to You which You named Yourself with, or revealed in Your Book, or You taught to any of Your creation, or You have preserved in the knowledge of the unseen with You, that You make the Qur’an the life of my heart and the light of my breast, and a departure for my sorrow and a release for my anxiety)’ but Allah will take away his sorrow and grief, and give him in their stead joy.” It was said: O Messenger of Allah, should we not learn them (these words)? He said: Yes indeed; whoever hears them should learn them.”
Reference: Ahmad (3528) - Classed as saheeh by al-Albaani in as-Silsilah as-Saheehah, 199.