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.
Sunan Abi Dawud Book 2, Hadith 677