The story about men favouring men is that of Hazrat Lut. The people of Hazrat lut used to commit many sins such as robbing and men used to desire each other. It was when sins became rampant in the city that Allah told Hazrat Lut to preach to his people. The people were so indulged in their sins that they just ignored him. This made Hazrat Lut sad but he did not give up preaching. Hazrat Luts wife was also one of those who ignored his preaching and was one of the sinners (just like Hazrat Nuh's wife). The people of the city threatened to throw him out of the city if he did not give up preaching. Then one day some men who were of the most handsome nature were spotted outside the city by Hazrat Luts daughter. They asked for a place to rest and she immediateley ran to tell her father. Hazrat Lut came to them and tried his best to try and be hospitable and at the same time inform the of the nature of the sinful men of the city so that they may go somewhere safer to rest. Eveantually it was decided that the men will come to rst in Hazrat Lut's house at night so that they wont be seen but Hazrat Lut's wife went and spread the news of the men to the whole city. Soon a mob of men came outside Hazrat Lut's house and started banging on the doors. Hazrat Lut to them to give up their sons and thy could even take his daughters in marriage. Once again, thy ignored and broke down the doors. When they reached inside, The beautiful men revealed that they were angels and immediateley the mob ran away in fear. An order was iven to Hazrat Lut that he should leave the city with his family except his wife before sunris. At sunrise the city was overturned and stones of clay hailed on the city so that the city was lost forever. The city was known as sodom. Thats the story of Hazrat Lut (Peace Be Upon Him).
About the seas. If im correct youre thinking about Musa. When he was escaping from the pharoah he gave the command for te seas to be split and it was split in half and then Hazrat Musa along with his people crossed the sea. When he crossed the sea returned to normal and pharoah and his men who were crossing at that time were drowned. Allah tells us in the Holy Quran that these are signs for beleivers and we should act and lean from these incidents.