Non Islamic sources claim that souls have no gender but Quran and authentic Hadeeths are clear that human soul is linked with human body, and as every human being has a gender either male of female, so, the souls has the same gender of the human being . Allah (SWT) says in Quran : (O mankind, We have Created you from a male and a female and made you in people and tribes, that you may know each other. Verily, the most honorable of you with Allah is most pious (Sura 49, Verse 13).
Wassalam.