Sahih Muslim #2560 b
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship 45:32
This hadith has been transmitted on the authority of Zuhri with a slight variation of wording (and the words are):
" The one turning away and the other turning away when they meet and one avoids the other and the other also avoids him."