Hadith 561
Sayyiduna Aslam Ansari (may Allah be pleased with him) says: The Noble Prophet (peace and blessings be upon him) appointed me over the captives of Banu Qurayza, so I would look at the private part of the boy; if hair had grown, I would behead him, and if hair had not grown, I would include him among the spoils of the Muslims.