His people were disbelievers and they transgressed, so Almighty Allah wanted to drown them all. He instructed Nuh PBUH to build a ship and take a pair (male and female) of each kind of animal on the ship with him, as well as the believers from his people.
(So, We inspired him (saying): “Construct the ship under Our Eyes and under Our Revelation (guidance). Then, when Our Command comes, and the oven gushes forth water, take on board of each kind two (male and female), and your family, except those thereof against whom the Word has already gone forth. And address Me not in favor of those who have done wrong. Verily, they are to be drowned.) Al-Mu’minuun 23:27
Nuh’s people mocked their prophet again when they saw him build a ship.
(And it was inspired to Nuh (Noah): “None of your people will believe except those who have believed already. So be not sad because of what they used to do. And construct the ship under Our Eyes and with Our Inspiration and address Me not on behalf of those who did wrong; they are surely to be drowned. “So he began to build the Ark, and whenever some of the chiefs of his people passed by, they mocked him. He said, “If you laugh at us, we will ˹soon˺ laugh at you similarly) Hud 11: 36-38
Nuh was not affected by this ridicule, but he remained steadfast in his position and trust in Allah, and he warned them about the punishment that would come to them.
أن قومه كفروا وطغوا وأراد الله أن يغرقهم جميعًا. فأمر الله تعالى نوح عليه السلام أن يصنع سفينة ً ويأخذ عليها المؤمنين من قومه ويأخذ من كل حيوان زوجين (أنثى وذكر).
) فَأَوْحَيْنَآ إِلَيْهِ أَنِ ٱصْنَعِ ٱلْفُلْكَ بِأَعْيُنِنَا وَوَحْيِنَا فَإِذَا جَآءَ أَمْرُنَا وَفَارَ ٱلتَّنُّورُ فَٱسْلُكْ فِيهَا مِن كُلٍّ زَوْجَيْنِ ٱثْنَيْنِ وَأَهْلَكَ إِلاَّ مَن سَبَقَ عَلَيْهِ ٱلْقَوْلُ مِنْهُمْ وَلاَ تُخَاطِبْنِي فِي ٱلَّذِينَ ظَلَمُوۤاْ إِنَّهُمْ مُّغْرَقُونَ(المؤمنون 23: 27
سخر قوم نوح من نبيهم مرة أخرى حين رأوه يبني سفينة.
(وَأُوحِىَ إِلَىٰ نُوحٍ أَنَّهُ ۥ لَن يُؤۡمِنَ مِن قَوۡمِكَ إِلَّا مَن قَدۡ ءَامَنَ فَلَا تَبۡتَٮِٕسۡ بِمَا كَانُواْ يَفۡعَلُونَ. وَٱصۡنَعِ ٱلۡفُلۡكَ بِأَعۡيُنِنَا وَوَحۡيِنَا وَلَا تُخَـٰطِبۡنِى فِى ٱلَّذِينَ ظَلَمُوٓاْۚ إِنَّہُم مُّغۡرَقُونَ. وَيَصْنَعُ ٱلْفُلْكَ وَكُلَّمَا مَرَّ عَلَيْهِ مَلأٌ مِّن قَوْمِهِ سَخِرُواْ مِنْهُ قَالَ إِن تَسْخَرُواْ مِنَّا فَإِنَّا نَسْخَرُ مِنكُمْ كَمَا تَسْخَرُون
هود 11: -36
لم يتأثر نوح بتلك السخرية وإنما ثبت على موقفه من الدعوة والثقة بالله عز وجل وتوعدهم بما سيأتيهم من عقوبة