Hazrat Abu Mulaikh narrates from his father that on the day of Hunain, it rained while we were with the Prophet Muhammad (peace be upon him), so the Prophet (peace be upon him) said: "The prayer will be performed in the shelters and tents."
And the evidence that the ruling of the day regarding the permissibility of leaving the congregational prayer due to rain is the same as the ruling of the night.
Hadith Referenceصحيح ابن خزيمه / جماع أبواب العذر الذى يجوز فيه ترك إتيان الجماعة / 1658