He/she was junub as he was unsure whether he is impure or pure.
I just want to know what's the Islamic law or the shariah law behind this.
Please give only authentic answers which have evidences and proves from the Qur'an and/or hadith.
Jazak Allah hu khair