Al-Ankaboot • EN-TAFSIR-IBN-ABBAS
﴿ فَإِذَا رَكِبُوا۟ فِى ٱلْفُلْكِ دَعَوُا۟ ٱللَّهَ مُخْلِصِينَ لَهُ ٱلدِّينَ فَلَمَّا نَجَّىٰهُمْ إِلَى ٱلْبَرِّ إِذَا هُمْ يُشْرِكُونَ ﴾
“And so, when they embark on a ship [and find themselves in danger], they call unto God, [at that moment] sincere in their faith in Him alone; but as soon as He has brought them safe ashore, they [begin to] ascribe to imaginary powers a share in His divinity:”
(And when they) i.e. the disbelievers of Mecca (mount upon the ships they pray to Allah) for safety, (making their faith pure for Him only) addressing Him alone in their call, (but when He bringeth them safe to land, behold! they ascribe partners (unto Him)) they associate idols with Him,