Chapter 97: Praying in houses when it rains
Book 004, Number 1487: Ibn 'Umar announced Adhan for prayer on a cold, windy night. Then added: Pray in your dwellings; and then said: When it was a cold, rainy night, the Messenger of Allah (may peace be upon him) used to command the Mu'adhdhin to say" Pray in your dwellings." Book 004, Number 1488: Ibn 'Umar reported that he summoned (people) to pray on a cold, windy and rainy night, and then observed at the end of the Adhin: Pray in your dwellings, pray in your dwellings, and then said: When it was a cold night or it was raining in a journey the Messenger of Allah (may peace he upon him) used to command the Mu'adhdhin to announce: Pray in your dwellings.
Book 004, Number 1489: Ibn 'Umar reported that he summoned (people) to prayer at a place (known as) Dajnan, and the rest of the hadith is the same, and then said: Pray in your dwellings, but he did not repeat for the second time words of Ibn 'Umar (Pray in your dwellings).
Book 004, Number 1491: 'Abdullah b. 'Abbas reported that he said to the Mu'adhdhin on a rainy day: When you have announced" I testify that there is no god but Allah; I testify that Muhammad is the Messenger of Allah," do not say:" Come to the prayer," but make this announcement:" Say prayer in your houses." He (the narrator) said that the people disapproved of it. Ibn 'Abbas said: Are you astonished at it? He (the Holy Prophet), who is better than I, did it. Jumu'a prayer is no doubt obligatory, but I do not like that I should (force you) to come out and walk in mud and slippery ground.