Does the dirt that result from the excuse and contaminate the clothes or body of an excused person prevent him from establishing prayer?
Obligations are identified in proportion to the power and the ability of the mukallaf (accountable) persons in Islam. The verse “Allah does not charge a soul except [with that within] its capacity.” (Baqarah, 2/286) clearly lays this basic principle. Islam introduced some conveniences so that excused persons can fulfill their worships. Within this framework, the things such as blood, purulence, urine, and suppuration which come from the place of excuse and spread over the underwear of the excused person do not prevent one from establishing prayer as long as the condition of being excused continues. However, the dirt needs to be cleaned if it will not get on the underwear or clothes again by taking some precautions (Ibn Abidin, Radd al-Muhtar, I, 506-507).
Source: Presidency Of Religious Affairs The Turkey, High Board of Religious Affairs FATWAS