At the same time as the crime blasphemy was committed by the son of Shelomith, Zelophehad committed another capital crime. On a Sabbath day he tore trees out of the ground although he had been warned by witnesses not to break the Sabbath. The overseers whom Moses had appointed to enforce the observance of the Sabbath rest seized him and brought him to the school, where Moses, Aaron, and other leaders of the people studied the Torah.

In both these cases Moses was uncertain how to pass judgement, for, although he knew that capital punishment must follow the breaking of the Sabbath, still the manner of capital punishment in this case had not yet been revealed to him. Zelophehad was in the meantime kept in prison until Moses should learn the details of the case, for the laws says that a man accused of a capital charge may not be given liberty of person. The sentence that Moses received from God was to execute Zelophehad in the presence of all the community by stoning him. This was accordingly done, and after the execution his corps was for a short time suspended from the gallows.