"We sought permission from the Messenger of Allah (ﷺ) for writing but he did not permit us."

Jami` at-Tirmidhi Book 41, Hadith 21