Mishkat al-Masabih
Mishkat al-Masabih 2292
وَعَنْ سَعْدَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: دَعْوَةُ ذِي النُّونِ إِذا دَعَا رَبَّهُ وَهُوَ فِي بَطْنِ الْحُوتِ (لَا إِلَهَ إِلَّا أَنْتَ سُبْحَانَكَ إِنِّي كُنْتُ مِنَ الظالمينَ) لَمْ يَدْعُ بِهَا رَجُلٌ مُسْلِمٌ فِي شَيْءٍ إلاَّ استجابَ لَهُ ". رَوَاهُ أَحْمد وَالتِّرْمِذِيّ
Unreviewed translation. All hadiths in this collection are available in five languages. Titles and introductions may remain in Arabic.
Sa‘d (may God be pleased with him) reported that the Messenger of God (peace be upon him) said: ‘The supplication of Dhu al-Nun, when he called upon his Lord inside the whale, was: “There is no deity but You; glory be to You. I have indeed been among the wrongdoers.” No Muslim supplicates with it for anything without God answering him.’ Ahmad and al-Tirmidhi transmitted it. The Arabic source marks it as not studied by al-Albani.
Notes and open questions — unreviewed
The source names the narrator only as Sa‘d.