See my answer to your other question, since it applies here, and provides the necessary biblical quotes and citations. In this question, you seem to be asking for a definitive verse in scripture that states or implies that only the body has a gender. There is no such verse. In both questions, though, you seem to be asking "does the Bible say that gender is in the body, or in the soul?" The answer is "yes."
Humans have a male or a female nature, since God created humans male and female. Humans are persons consisting of both body and soul, since human heavenly perfection consists of having both soul and glorified body.
A body is a male body in the sense of being the body of a male person: a person with a male nature. Your hand has no gender, your blood has no gender. In that sense a body has no gender. What is the gender of flesh never animated by soul?
You might ask: do we have gender because we have a soul, or because we have a body? If that question makes sense, the answer is likely: we have gender because humans have both a body and a soul, and are made male and female by God.
Matthew 22:30 is sometimes wrongly invoked as saying that there is no gender in heaven, on the heretical assumption that our bodies will not rise again. It reads:
For in the resurrection they neither marry nor are given in marriage, but are like angels in heaven.
But Jesus is saying that there is no marriage after the resurrection, not that there is no gender. Though this passage also seems to imply that angels do not have a gender (no marriage, so no procreation, so no gender).