Danish Khan originally shared:
This particular Ayat-e-Kareema was recited by Hazrat Yonus (AS) when he was stuck in the stomach of a big fish. There he remained for days and recited this ayah as an invocation to Allah Almighty as a result of which he finally succeeded in getting out of his misery and be among the people once again.
Sa’d ibn Waqas (radiAllahu anhu) reported that the Prophet (salAllahu allayhi wasalam) said, “The supplication made by the Companion of the Fish (Prophet Yunus (as)) in the belly of the fish was (the above). If any Muslim supplicates in these words, his supplication will be accepted/responded to.” In another report we read, “I know words that will cause Allah to remove one’s distress. These are the words (of supplication) of my brother Yunus, peace be upon him”
[at-Tirmidhi; 3500, an-Nisa’i in `Amal al-yawmi wa al-layla; #656, al-Hakim 1:505 and 2:383. The latter declared it sound (sahih) and Dhahabi confirmed him]