Al-Qurtubi reported: Ibn Abbas, may Allah be pleased with him, said, “The best jihad is to build a mosque and to teach the Quran, the Sunnah, and religious understanding therein.”
Source: Tafsīr al-Qurṭubī 9:122
عن القرطبي وَقَالَ ابْنُ عَبَّاسٍ أَفْضَلُ الْجِهَادِ مَنْ بَنَى مَسْجِدًا يُعَلِّمُ فِيهِ الْقُرْآنَ وَالْفِقْهَ وَالسُّنَّةَ
9:122 الجامع لأحكام القرآن سورة براءة قوله تعالى وما كان المؤمنون لينفروا كافة