(14) باب الرُّخْصَةِ إِنْ لَمْ يَحْضُرِ الْجُمُعَةَ فِي الْمَطَرِ
Narrated Muhammad bin Seereen:
On a rainy day Ibn `Abbas said to his Mu'adh-dhin, "After saying, 'Ash-hadu anna Muhammadan Rasulullah' (I testify that Muhammad is Allah's Messenger (ﷺ)), do not say 'Haiya 'Alas-Salat' (come for the prayer) but say 'Pray in your houses'." (The man did so). But the people disliked it. Ibn `Abbas said, "It was done by one who was much better than I (i.e. the Prophet (p.b.u.h) ). No doubt, the Jumua prayer is compulsory but I dislike to put you to task by bringing you out walking in mud and slush."
Reference: Sahih al-Bukhari 901
In-book reference: Book 11, Hadith 25
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 2, Book 13, Hadith 24