Abdullah bin Amr bin As reported,

I used to write down everything I heard from the Messenger of Allah ﷺ, wanting to memorize it. Then the Quraysh forbade me, saying, "Do you write down everything you hear from the Messenger of Allah ﷺ? The Messenger of Allah ﷺ is a human being who speaks in anger and in pleasure."So I refrained from writing, and I mentioned this to the Messenger of Allah ﷺ. He pointed with his finger to his mouth and said, "Write, for by the One in whose hand my soul is, nothing comes out of it except the truth."

Azami 13412

Sahih

عن عبد الله بن عمرو قال

كنت أكتب كل شيء أسمعه من رسول الله ﷺ أريد حفظه، فنهتني قريش، وقالوا: لا تكتب كل شيء تسمعه من رسول الله ﷺ، ورسول الله ﷺ بشر يتكلم في الغضب والرضا، فأمسكت عن الكتاب، فذكرت ذلك لرسول الله ﷺ، فأومأ بإصبعه إلى فيه، فقال: اكتب، فوالذي نفسي بيده ما يخرج منه إلا حق.

الأعظمي 13412صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Najm
Section
His saying, "Nor does he speak from his own desire. It is only revelation revealed"
Numbering
Jami al-Kamil 13412 (2nd edition)
Azami 13412