It is mentioned in Qur'an that Allah said to Saydna Ayyub عليه السلام
اُرۡکُضۡ بِرِجۡلِکَ ۚ ہٰذَا مُغۡتَسَلٌۢ بَارِدٌ وَّ شَرَابٌ
[So he was told], "Strike [the ground] with your foot; this is a [spring for] a cool bath and drink."
[Surah Suaad 38/42]
Allah Azzawajal healed Saydna Ayyub عليه السلام with the cold water as Allah put shifa in the cold water.
Rasoolallah صلی اللہ علیہ وسلم also made the dua with these words.
اللَّهُمَّ طَهِّرْنِي بِالثَّلْجِ، وَالْبَرَدِ، وَالْمَاءِ الْبَارِدِ
Ya Allah! purify me with snow and hail and cold water.
[Sunan Nasai 402 Sahih by Imam al Albani رحمہ اللہ]
Rasoolallah صلی اللہ علیہ وسلم also said
إِنَّ أَوَّلَ مَا يُسْأَلُ عَنْهُ يَوْمَ الْقِيَامَةِ يَعْنِي الْعَبْدَ مِنْ النَّعِيمِ أَنْ يُقَالَ لَهُ : أَلَمْ نُصِحَّ لَكَ جِسْمَكَ وَنُرْوِيَكَ مِنْ الْمَاءِ الْبَارِدِ
Indeed the first of what will be asked about on the Day of Judgment meaning the slave (of Allah) being questioned about the favors, is that it will be said to him: ‘Did We not make your body, health, and give you of cool water to drink?’”
[Sunan Tirmidhi 3358 Sahih]
Abu Huraira رضیﷲ عنه reported that Rasoolallah صلی اللہ علیہ وسلم said
الْحُمَّى كِيرٌ مِنْ كِيرِ جَهَنَّمَ فَنَحُّوهَا عَنْكُمْ بِالْمَاءِ الْبَارِدِ " .
Fever is one of the bellows of Hell, so avert it from yourselves with cold water.”
[Sunan Ibn Majah 3475 sahih]
Rasoolallah صلی اللہ علیہ وسلم said
Dawood عليه السلام would supplicate, saying:
اللَّهُمَّ إِنِّي أَسْأَلُكَ حُبَّكَ وَحُبَّ مَنْ يُحِبُّكَ وَالْعَمَلَ الَّذِي يُبَلِّغُنِي حُبَّكَ اللَّهُمَّ اجْعَلْ حُبَّكَ أَحَبَّ إِلَيَّ مِنْ نَفْسِي وَأَهْلِي وَمِنَ الْمَاءِ الْبَارِدِ
O Allah, I ask you for your love and the love of those who love you and the deeds that will bring me your love. O Allah, make your love more beloved to me than myself and my family and even cold water.
[Tirmidhi 3490 Hasan]