Al-Mu'minun 23:28
فَإِذَا ٱسْتَوَيْتَ أَنتَ وَمَن مَّعَكَ عَلَى ٱلْفُلْكِ فَقُلِ ٱلْحَمْدُ لِلَّهِ ٱلَّذِى نَجَّىٰنَا مِنَ ٱلْقَوْمِ ٱلظَّـٰلِمِينَ
Fa-itha istawayta anta waman maAAakaAAala alfulki faquli alhamdu lillahi allatheenajjana mina alqawmi aththalimeen
And when you have boarded the ship, you and those with you, then say, 'Praise to Allāh who has saved us from the wrongdoing people.'
So, when you and those with you are well seated in the ship, say, ‘Praise is for Allah who saved us from the wrongdoing people.’