The rain fell on the day of 'Id (festival) , so the Prophet (ﷺ) led them (the people) in the 'Id prayer in the mosque.
Sunan Abi Dawud Book 2, Hadith 771