Punishment For Blasphemy

As you know that some extremists killed those people who were drawing caricatures of Muhammad PBUH.So, what is the original punishment prescribed for those who do blasphemy?