Sahih al-Bukhari 901
Musaddad narrated to us, he said: Ismail (bin Ulayyah) narrated to us. He said: Abdul Hamid, the companion of Ziyadi, told me, he said: Abdullah bin Harith, who was the son of the paternal uncle of Muhammad bin Sirin, narrated to us that on a rainy day Hazrat Ibn Abbas (ra) said to his caller (Mu'adhdhin): When you say “Ashhadu anna Muhammadan rasulullah” (I bear witness that Muhammad (saw) is the Messenger of Allah (saw)), do not say (after it): Come to the Prayer, (but) say: Offer the Prayer in your houses. The people found this strange. He said: The Holy Prophet (saw), who was better than me, also did the same. Listen, the Friday Prayer is obligatory, and I disliked that you should have to walk through mud and slippery places.
AI-translated by Islam-Today
Book 14: Not to attend the Jumu'ah (prayer) if it is raining.