عَنِ ابْنِ عُمَرَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «صَلَاةُ الْجَمَاعَةِ تَفْضُلُ صَلَاة الْفَذ بِسبع وَعشْرين دَرَجَة»
Translation
Ibn ‘Umar called the adhan for prayer on a cold, windy night, then added, “Pray in your dwellings.” Then he said

When it was a cold, rainy night, God’s Messenger used to command the mu’adhdhin to say, “Pray in your dwellings.” (Bukhari and Muslim.)