Touching the wife according to the Shafi'ee's doctrine invalidate husband's ablution. And Allah Knows Best.