Masjid al-Dirār had been erected for Abū ʿĀmir the Wicked—who was also called Abū ʿĀmir the Monk. He had embraced Christianity in the pre-Islamic period, and the idolaters held him in great esteem; yet when Islam arrived, jealousy overtook him and led him to oppose the Prophet—may Allah bless him and grant him peace. (1)
A group of the hypocrites therefore set about constructing this mosque, intending it to serve Abū ʿĀmir’s purposes, and the story is well known. (2) They did not build it in order to fulfill what Allah and His Messenger had commanded, but for entirely different aims.
Into the same category falls anyone who raises edifices—shrines and the like—to rival the Muslims’ mosques for purposes other than the prescribed acts of worship, especially when such buildings involve harm, disbelief, division among the believers, or serve as outposts for the hypocrites and innovators who oppose Allah and His Messenger. All of this only reinforces their likeness to Masjid al-Dirār. (3)
When Allah, Exalted is He, said to His Prophet—may Allah bless him and grant him peace:
“A mosque founded upon reverent fear of Allah from the very first day is more deserving that you stand in it” (al-Tawbah 9:108),
Qubāʾ Mosque was indeed founded upon piety, yet the Prophet’s own mosque was even greater in that regard. It is authentically reported that when he was asked about the mosque founded on piety, he replied, “This mosque of mine.” (4)
Thus both mosques were founded upon piety, but his mosque is distinguished as the most perfect in that attribute. He would therefore lead the congregation in his mosque on Friday and visit Qubāʾ Mosque on Saturday. (5)(6)