Aslam

Surah An-Nisa — 4:86
وَإِذَا حُيِّيتُم بِتَحِيَّةٖ فَحَيُّواْ بِأَحۡسَنَ مِنۡهَآ أَوۡ رُدُّوهَآۗ إِنَّ ٱللَّهَ كَانَ عَلَىٰ كُلِّ شَيۡءٍ حَسِيبًا
And when you are greeted, respond with a better greeting or at least similarly. Surely Allah is a ˹vigilant˺ Reckoner of all things.

Commentary

When anyone offers a greeting of peace to you, then respond to him with something better than what he offered or return a similar greeting to him. To respond with something better is more virtuous. Allah keeps watch over what you do and He will reward each person according to his actions.

Read Tafsir Ibn Kathir