He probably didn’t care which gender it was.
It makes the story more “Islamic culturally correct” if it was a guy, LOL.