When donating to build a mosque, is it better for the donor not to put his name on the mosque so that he is sincere?
It is not permissible to put his name on the mosque, and not putting his name is better, but putting his name is not a problem, inshaAllah the Exalted.
If he seeks the countenance of Allah, the Blessed and Exalted.