Sura 21:87-88 (trans. Muhammad Asad)

(87) And [remember] him of the great fish – when he went off in wrath, thinking that We had no power over him! But then he cried out in the deep darkness [of his distress]: “There is no deith save Thee! Limitless art Thou in thy glory! Verily, I have done wrong!”

(88) And so We responded unto him and delivered him from [his] distress: for thus do We deliver all who have faith.