Offering Salah while feeling the discharge of urine

Q 5: On the Day of `Arafah (9th of Dhul-Hijjah) I entered Masjid Namirah and remained there until sunset. I had a dire need to urinate, but I could not leave the Masjid (mosque) as it was very crowded, toilets were far, and I feared (Part No. 5; Page No. 148

A: It is Wajib (obligatory) on you to make up for the Salahs (Prayers) that you offered while you were not in a state of Taharah. You also have to make Tawbah (repentance) to Allah. However, if you were sitting in the part of the Masjid which is inside the borders of `Arafah, your Hajj would be valid. Otherwise, your Hajj is to be considered invalid, the rituals you did are to be counted as `Umrah (lesser pilgrimage), and it is Wajib on you to make up for your Hajj that you missed and to slaughter the appointed sacrifice.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.