Sunan Abu Dawud #4843
General Behavior (Kitab Al-Adab) 43:71
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.