Num Numbers, chapter Book of Numbers, chapter 26
And those that were numbered of them were 23,000, kol zachar from a month old and upward: for they were not numbered among the Bnei Yisroel, because there was no nachalah given them among the Bnei Yisroel.