According to Islamic tradition, the pen was the first creation of Allah, used to record all destinies. This belief comes from hadith stating 'The first thing that Allah created was the pen.' Angels, the universe, and the Quran came later in the creation narrative.