It is narrated from Sayyiduna Ibn Abbas and Sayyiduna Abu Habbah al-Ansari (may Allah be pleased with them) that they both said: The Messenger of Allah (peace and blessings be upon him) said: "I was taken up (on the Mi'raj) until I reached a level where I could hear the scratching of the pens."
Hadith Referenceالمعجم الكبير للطبراني / مسند من يعرف بالكنى / 19024