Sunan Abi Dawud
Hadith #4843
Narrated AbuMusa al-Ash'ari: The Prophet (ﷺ) said: Glorifying Allah involves showing honour to a grey-haired Muslim and to one who can expound the Qur'an, but not to one who acts extravagantly regarding it, or turns away from it, and showing honour to a just ruler