if you are fasting and sperm comes out accidently while your sleeping dose that mean your fast is not valid
Answer
In the name of Allah, Most Gracious, Most Merciful
Assalaamu `alaykum waRahmatullahi Wabarakatoh
If by your statement “sperms come out accidently” you mean wet dream, then that does no invalidate the fast.
Wassalam
Mufti Ebrahim Desai
Darul Iftaa, Madrassah In’aamiyyah Original Source Link