Jami` at-Tirmidhi, Book 49, Hadith 22 (Tirmidhi 3719)

Narrated 'Ali bin Abi Talib:

"I was with the Prophet (ﷺ) in Makkah. We departed to one of its suburbs, and no mountain or tree was before him, except that it said: 'Peace be upon you O Messenger of Allah.'"