Leviticus 16:5-10
16:5 He must also take two male goats from the congregation of the Israelites for a sin offering and one ram for a burnt offering.
16:6 Then Aaron is to present the sin offering bull which is for himself and is to make atonement on behalf of himself and his household.
16:7 He must then take the two goats and stand them before the Lord at the entrance of the Meeting Tent,
16:8 and Aaron is to cast lots over the two goats, one lot for the Lord and one lot for Azazel.
16:9 Aaron must then present the goat which has been designated by lot for the Lord, and he is to make it a sin offering,
16:10 but the goat which has been designated by lot for Azazel is to be stood alive before the Lord to make atonement on it by sending it away to Azazel into the wilderness.