Sunan an-Nasa'i #3959
The Book of the Kind Treatment of Women 36:21
It was narrated from Anas, that the Messenger of Allah had a female slave with whom he had intercourse, but 'Aishah and Hafsah would not leave him alone until he said that she was forbidden for him. Then Allah, the Mighty and Sublime, revealed:
"O Prophet! Why do you forbid (for yourself) that which Allah has allowed to you.' until the end of the Verse.