Imam ash-Shāfi’i rahimahullāh said:

“It is disliked to say, ‘the Messenger said’, rather one should say, ‘the Messenger of Allāh ﷺ said’, so as to honour him.”

[Tabaqāt ash-Shāfi’iyyah (256/1)]