If a spouse...

Devil is very smart. He is waiting for any opportunity that doesn't have "barakah" of Allah (swt) in it. Even exchange of beautiful smiles, jokes, "adaai'n" and laughs are enough for him to proceed his plans even if initially hand shaking is prohibited by the spouse. Heeeheeeheee....;)