Surah Al-Ankaboot Verse 65 - English Translation by Muhammad Mahmoud Ghali
Surah Al-Ankabootفَإِذَا رَكِبُواْ فِي ٱلۡفُلۡكِ دَعَوُاْ ٱللَّهَ مُخۡلِصِينَ لَهُ ٱلدِّينَ فَلَمَّا نَجَّىٰهُمۡ إِلَى ٱلۡبَرِّ إِذَا هُمۡ يُشۡرِكُونَ
So when they embark in the ships, they invoke Allah, making the religion His faithfully; then, as soon as He delivers them safe on the dry land, only then do they associate others (with Him)