Surah At-Tawbah 9:108
لَا تَقُمْ فِيهِ أَبَدًا ۚ لَّمَسْجِدٌ أُسِّسَ عَلَى ٱلتَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌ يُحِبُّونَ أَن يَتَطَهَّرُوا۟ ۚ وَٱللَّهُ يُحِبُّ ٱلْمُطَّهِّرِينَ
Do not stand [for prayer] within it - ever. A mosque 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 Allāh loves those who purify themselves.
Translation: Saheeh International
Tafsir
Never stand never perform prayer there and so he sent a group of men to destroy and burn it and in its place they left a refuse pit where decaying cadavers would be dumped. …
Excerpt from Tafsir al-Jalalayn, commentary on 9:108, via Quran.com. The reader has the full commentary and 9 more tafsirs.