Is it mandatory for kidney transplanted patient to wear mask?

No it isn't. Some centers like transplant recipients to wear a mask for a few days after surgery. Most do not. There is certainly no need to wear a mask long term unless you have a very low white blood cell count indicating that your immune mechanisms are compromised.