Q: How can a person with incontinence from urine pray Jumah prayers without spreading najasah the masjed?
A: It is permitted in this case to stay in and pass through the Masjid as long as you can assure that the najasah will not spread. Take all precautions such as wearing underwear liners.
Source: Al-Mughni