Zakaat is not Compulsory on the Prophets
There is complete agreement and consensus that the Prophets don’t have to give Zakaat. This is because Zakaat is a means of purifying those who can be blemished and the Prophets are free of any and every impurity.
As given in Durre Mukhtaar, Kitab Uz Zakaat.