Ezekiel 47:22

22 Divide it by drawing lots. This land will be for you. It will also be for the foreign residents who live among you and have given birth to children while they lived with you. Think of them as Israelites. They will draw lots with you for their inheritance among the tribes of Israel.