Ibn ‘Abbas said to his mu’adhdhin on a rainy day: “when you utter the words ‘ I testify that Muhammad is the Messenger of Allah,” do not say,” Come to prayer” but say “Pray at your homes,” By this (announcement) the people were surprised. He said: One who was better than me has done it. The Friday prayer is an obligatory duty. But I disliked to put you to hardship so that you might walk in mud and rain. (Using translation from Abū Dāʾūd 1066)
لِمُؤَذِّنِهِ فِي يَوْمٍ مَطِيرٍ إِذَا قُلْتَ أَشْهَدُ أَنَّ مُحَمَّدًا رَسُولُ اللَّهِ فَلَا تَقُلْ حَيَّ عَلَى الصَّلَاةِ قُلْ صَلُّوا فِي بُيُوتِكُمْ فَكَأَنَّ النَّاسَ اسْتَنْكَرُوا ذَلِكَ فَقَالَ قَدْ فَعَلَ ذَا مَنْ هُوَ خَيْرٌ مِنِّي إِنَّ الْجُمُعَةَ عَزْمَةٌ وَإِنِّي كَرِهْتُ أَنْ أُخْرِجَكُمْ فَتَمْشُونَ فِي الطِّينِ وَالْمَاءِ صحيح