Surah An-Nisa 4:86
وَإِذَا حُيِّيتُم بِتَحِيَّةٍ فَحَيُّوا۟ بِأَحْسَنَ مِنْهَآ أَوْ رُدُّوهَآ ۗ إِنَّ ٱللَّهَ كَانَ عَلَىٰ كُلِّ شَىْءٍ حَسِيبًا
And when you are greeted with a greeting, greet [in return] with one better than it or [at least] return it [in a like manner]. Indeed Allāh is ever, over all things, an Accountant.
Translation: Saheeh International
Tafsir
And when you are greeted with a greeting as when it is said to you ‘Peace be upon you’ greet the one that greeted you with better than it by responding to him with ‘Peace be upon you and God’s mercy and blessings’ or return it by saying back to him what he said; …
Excerpt from Tafsir al-Jalalayn, commentary on 4:86, via Quran.com. The reader has the full commentary and 9 more tafsirs.