Reference: Fataawa Noor ‘alad-Darb – Question No.5840, Page 266, Volume 11
Question: Is it permissible [for a man] to be alone with a woman whilst he is doing ruqyah on her?
Response: It is not permissible [for a man] to be alone with a woman whilst he is doing ruqyah on her. That is because the Prophet ﷺ said:
«No man should be alone with a woman unless there is a mahram with them»
So it is imperative that she has her mahram with her whilst ruqyah is being done on her.