Question:

(What is the ruling regarding) naming the masaajid with the names of the Companions and the Scholars?

Answer:

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]

Translated by

Faisal Ibn Abdul Qaadir Ibn Hassan

Abu Sulaymaan