Sunan an-Nasa'i, Book 27, Hadith 76 (Nasa'i 3470)

It was narrated that Ibn 'Abbas said:

"A man came to the Messenger of Allah and said: 'My wife does not object if anyone touches her.' He said: 'Divorce her if you wish.' He said: 'I am afraid that I will miss her.' He said: 'Then stay with her as much as you need to.'"