I came to the Prophet (ﷺ) and said: Upon you be peace, Messenger of Allah! He said: Do not say: Upon you be peace, for "Upon you be peace" is the salutation to the dead.
Sunan Abi Dawud Book 43, Hadith 437