Islamic Interpretation of Dreams (Ibn-i Sirin):

Shaking hands with someone in a dream means signing an agreement, receiving benefits, a pledge of allegiance, honoring one’s promise, making a commitment, good intention, signing a contract, or cherishing a friendship.

Shaking hands with someone then embracing him in a dream means glad tidings, good news, good words to which one’s reply will be the same, or it could represent a knowledge he teaches to others.

(Also see Greetings)