A man asked the Messenger of Allah ﷺ: Messenger of Allah, we travel on the sea and take a small quantity of water with us. If we use this for ablution, we would suffer from thirst. Can we perform ablution with sea water? The Messenger ﷺ replied: Its water is pure and what dies in it is lawful food. (Using translation from Abū Dāʾūd 83)
أَخْبَرَهُ أَنَّهُ سَمِعَ أَبَا هُرَيْرَةَ يَقُولُ سَأَلَ رَجُلٌ رَسُولَ اللَّهِ ﷺ فَقَالَ إِنَّا نَرْكَبُ الْبَحْرَ وَمَعَنَا الْقَلِيلُ مِنَ الْمَاءِ فَإِنْ تَوَضَّأْنَا بِهِ عَطِشْنَا أَفَنَتَوَضَّأُ مِنْ مَاءِ الْبَحْرِ؟ فَقَالَ رَسُولُ اللَّهِ ﷺ «هُوَ الطَّهُورُ مَاؤُهُ الْحِلُّ مَيْتَتُهُ»