Numbers 3:48-50

3:48 And give the money for the redemption of the excess number of them to Aaron and his sons.”

3:49 So Moses took the redemption money from those who were in excess of those redeemed by the Levites. 3:50 From the firstborn males of the Israelites he collected the money, 1,365 shekels, according to the sanctuary shekel.