Allah told the story thus: And he (Noah) said: "Embark therein, in the Name of Allah will be its moving course and its resting anchorage. Surely, my Lord is Oft-Forgiving, Most Merciful." So it (the ship) sailed with them amidst the waves like mountains, and Noah called out to his son, who had separated himself (apart), "0 my son! Embark with us and be not with the disbelievers." The son replied: "I will betake myself to a mountain, it will save me from the water." Noah said: "This day there is no savior from the Decree of Allah except him on whom He has mercy." And a wave came in between them, so he (the son) was among the drowned.
And Noah called upon his Lord and said, "0 my Lord! Verily, my son is of my family! And certainly, Your Promise is true, and You are the Most Just of the judges." He said: "0 Noah! Surely, he is not of your family; verily, his work is unrighteous, so ask not of Me that of which you have no knowledge! I admonish you, lest you be one of the ignorants."
Noah said: "0 my Lord! I seek refuge with You from asking You that of which I have no knowledge. And unless You forgive me and have Mercy on me, I would indeed be one of the losers." Surah 11: 45-47