Noah chose a place outside the city, far from the sea. He collected wood and tools and began to work day and night to build the ark. The people's mockery continued: "0 Noah! Does carpentry appeal to you more than prophethood? Why are you building an ark so far from the sea? Are you going to drag it to the water or is the wind going to carry it for you?" Noah replied: 'You will come to know who will be put to shame and suffer."
Allah the Almighty narrated: And as he was constructing the ship, whenever the chiefs of his people passed by him, they made a mockery of him. He said: "If you mock at us, so do we mock at you likewise for your mocking. And you will know who it is on whom will come a torment that will cover him with disgrace and on whom will fall a lasting torment. " Surah 11:38-392