try giving him somthing to bite into, like styrofoam, that leaves his teeth marks so he can see what happens

try giving him a toy baby to bite into and tell him he is allowed to bite into that

make a game of bitting stuff, hard stuff, soft stuff, cloths etc.....

and the best is to shadow him, hold his hand every single moment, changing a diaper? bring him with you and sit him down while you change the diaper, and casualy tell him, "sweetie, I know this is borring not being able to go play with your friends, but when you stop bitting you'll be able to go"

do this for a week, he will be soooo borred out of his mind of doing nothing all day, he might realise bitting isnt so fun after all!

good luck