Sunan an-Nasa'i #4981
The Book of Cutting off the Hand of the Thief 46:111
It was narrated that 'Atiyyah said:
'I was among the prisoners of Quraizah; we were examined, and whoever had grown (pubic) hair was killed, and whoever had not grown hair, he was allowed to live and was not killed."