According to one account, Ibn Ishaq narrated that Idris was the first man to write with a pen.
While the concept of writing and early writing tools existed long before Islam, within Islamic tradition and historical narratives, Idris (believed by some to be the prophet Enoch in Judeo-Christian traditions) is credited by some as the first to use a pen. Ibn Ishaq, a well-known 8th-century Muslim historian and hagiographer, documented this claim. It's crucial to understand that this is within the context of Islamic tradition and attributed to a specific historical account. This doesn't necessarily mean he invented the physical pen itself, but rather that he was the first mentioned in that context to use such an instrument for writing.
It is important to note the difference between the historical invention of writing tools and the ascription of their use to figures within religious traditions. Archaeological evidence shows that writing and early forms of pens existed in other cultures long before the Islamic era. However, within the framework of Islamic storytelling and historical narratives, Idris holds a unique position.