How can a man visit his female cousin, especially if she is married,
to maintain the ties of kinship with her? Is it not permissible to visit her, being a woman? May Allah reward you for what you do for Islam and the Muslims, and make your efforts only for His sake.
It is desirable for you to visit your female cousins and all the relatives you are able to visit. It
is obligatory on Muslims to maintain ties of kinship with their relatives, and it is unlawful to sever these ties. Allah (Exalted be He) states,
And give to the kinsman his due
However, you should not sit with her in Khulwah (being in privacy with a member of the opposite sex) if she is a non-Mahram (not a spouse or an unmarriageable relative). You must fulfill this right in a manner that does not contradict with Shari`ah (Islamic law) and while she is wearing Hijab (veil).May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.