sometimes in my mind came bad thoughts and after that i feel wetness in is ghusul becomes wajeb for me?
In the Name of Allah, the Most Gracious, the Most Merciful.
As-salāmu ‘alaykum wa-rahmatullāhi wa-barakātuh.
The wetness you refer to is Mazi. Mazi is impure and invalidates Wuzu. Gusl does not becom compulsory through the emission of Mazi[1]
And Allah Ta’āla Knows Best
Immad Bin Arshad
Student Darul Iftaa
California, USA
Checked and Approved by,
Mufti Ebrahim Desai.
www.daruliftaa.net
[1] البحر الرائق شرح كنز الدقائق (1/ 206)
لأنه لا يجب الغسل بإنزال المذي والودي والبول بالإجماع والإنزال عن شهوة مراد بالإجماع فلا يكون غيره
الدر المختار وحاشية ابن عابدين (رد المحتار) (1/ 165)
(لا) عند (مذي أو ودي) بل الوضوء منه ومن البول جميعا على الظاهر