Sunan Ibn Majah, Book 1, Hadith 276 (Ibn Majah 542)

It was narrated that Jabir bin Samurah said:

"A man asked the Prophet whether he could perform prayer in a garment in which he had intercourse with his wife. He said: 'Yes, unless he sees something on it, in which case he should wash it.'"