Sunan Abi Dawud, Book 43, Hadith 439 (Abu Dawud 5213)

Narrated Al-Bara' ibn Azib:

The Prophet (ﷺ) said: If two Muslims meet, shake hands, praise Allah, and ask Him for forgiveness, they will be forgiven.