Leviticus 24:12

12 They kept him in custody until the LORD told them what to do.