They put him in custody, because there was no clear instruction about what should be done to him.
Referenced Verses
Lev 24:12 : 12 So they placed him in custody until they were able to make a clear legal decision for themselves based on words from the mouth of the LORD.
Num 9:8 : 8 So Moses said to them,“Remain here and I will hear what the LORD will command concerning you.”