“The supplication of Dhun-Nun [Prophet Yunus (كما)] when he supplicated, while in the belly of the whale was:
لَّا إِلَهَ إِلَّا أَنتَ سُبْحَانَكَ إِنِّي كُنتُ مِنَ الظَّالِمِينَ
‘There is none worthy of worship except You, Glory to You. في الواقع, I have been of the transgressors.’
So indeed, no Muslim man supplicates with it for anything, أبدا, except Allah responds to him.”
[ Tirmidhi 3505 – صحيح ]
This is a supplication in the Quran, which was asked by Yunus (كما) inside the belly of the whale in Surah Al-Anbiya (21) الآيات 87 و 88 كما يلي:
And remember Dhu al Nun, when he departed in wrath: he imagined that We had no power over him! but he cried through the depths of darkness “There is no god but Thou: Glory to Thee: I was indeed wrong!” (87) So We listened to him: and delivered him from distress: and thus do We deliver those who have faith. (88)