Ruling on combining Salahs under circumstances of rainfall or mud

Ruling on performing Maghrib Prayer in a Masjid and `Isha' Prayer in another