What’S The Idea Of Khalwat In Islam?
To avoid seclusion is the preemptive measure. Preemptive measures are not themselves haram or sin, but if their violation leads to actual sin, all the initial steps are measured with the sin.