Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:96:4

Who taught by the pen -  

Who taught, ˹the art of˺ script, by the pen — the first to write with it was ˹the prophet˺ Enoch (Idrīs), peace be upon him —
القرآن:٩٦:٤

الَّذِي عَلَّمَ بِالْقَلَمِ  

{الذي علم} الخط {بالقلم} وأول من خط به إدريس عليه السلام.