Mu'awiyah ibn AbuSufyan asked his sister Umm Habibah, the wife of the Prophet (ﷺ): Would the apostle of Allah (ﷺ) pray in the clothe in which he had an intercourse? She said: Yes, when he would not see any impurity in it.
Sunan Abi Dawud Book 1, Hadith 366