Abdullah bin Abbas reported,

The verse "And those who took a masjid for causing harm" [Tawbah 9:107] refers to some people from the Ansar who built a masjid. Abu Amir had said to them, "Build your masjid, and prepare whatever strength and weapons you can. I am going to Caesar, the king of the Romans, and I will bring back an army of Romans and drive out Muhammad and his companions."

Azami 12513

Hasan

عن ابن عباس

أن قوله: {والذين اتخذوا مسجدا ضرارا} هم أناس من الأنصار، ابتنوا مسجدا، فقال لهم أبو عامر: ابنوا مسجدكم، واستعدوا بما استطعتم من قوة، وسلاح. فإني ذاهب إلى قيصر ملك الروم، فآتي بجند من الروم فأخرج محمدا وأصحابه.

الأعظمي 12513حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And those who took a masjid for causing harm and disbelief and division among the believers and as a station for whoever had warred against Allah and His Messenger before. And they will surely swear, we intended only the best. And Allah testifies that they are liars. Do not stand in it ever. A masjid founded on righteousness from the first day is more worthy for you to stand in. Within it are men who love to purify themselves, and Allah loves those who purify themselves"
Numbering
Jami al-Kamil 12513 (2nd edition)
Azami 12513