This study explores the important role of Pesantren, the Islamic Boarding School, in preserving and disseminating Islamic knowledge through writing in North Sumatra. Ulama, who are scholars born from these schools, not only teach and preach but also write books, pamphlets, and other forms of