3951 in words is written as :

Three Thousand Nine Hundred and Fifty One