(What is the ruling regarding) naming the masaajid with the names of the Companions and the Scholars?
There is no harm in that. There is no harm in that. In order to distinguish the masaajid and to know it. Yes
[Sharh Saheeh al-Bukhari no. 60 Side B]
Faisal Ibn Abdul Qaadir Ibn Hassan