Sunan Abi Dawud, Book 33, Hadith 11 (Abu Dawud 4020)

Narrated AbuHurayrah:

The Prophet (ﷺ) said: A man should not lie with another man and a woman should not lie with another woman without covering their private parts except a child or a father. He also mentioned a third thing which I forgot.