Congregational prayers in severe conditions

It is permissible to not attend congregational prayers in the masjid because of bad weather conditions, such as cold or rain. Details