Imam al-Shafi'i (may Allah have mercy on him) said: It is not permissible for anyone to take the kunyah Abu al-Qasim, whether his name is Muhammad or anything else.