All male ants have wings. All worker ants are females. All ants that don't have wings are definitely females. This was only known recently. But 1400 years ago the Quran addressed ants who cannot fly in the female mode:
[Quran 27.18] Until, when they came upon the valley of the ants, an ant said (for females), "O ants, enter your homes so that you do not be crushed by Solomon and his soldiers while they do not feel it."
For the word "said": Kala (قال) is for males. Kalat (قالت) is for females. The Quran used Kalat (female).
If this ant had wings it would have flown off however it didn't have this option, instead it's only option was to hide underground. Since it didn't have wings then this was definitely a female ant. Here the Quran correctly addresses this ant in the female mode.
How could an illiterate man who lived 1400 years ago have known that wingless ants are females?
(The Christian Bible erroneously claims that there are four legged insects Leviticus 11:20. It also claims that there is an animal that has "flames stream from its mouth; sparks of fire shoot out. Smoke pours from its nostrils as from a boiling pot over burning reeds. Its breath sets coals ablaze, and flames dart from its mouth". Job 41:19-21)