Hello ,
We can block it in 2 ways :
1) Use the whatsapp IP address range and block them in security policy . IR ranges are in :
https://www.whatsapp.com/cidr.txt
2) Use AppID to block it . This is a licensed feature and you can use the following signature for it to block :