He asked his sister Umm Habibah, the wife of the Prophet: "Did the Messenger of Allah ever offered prayer in a garment in which he had sexual intercourse?" She said: "Yes, if there was nothing noxious on it." (Using translation from Ibn Mājah 540)
أَنَّهُ سَأَلَ أُمَّ حَبِيبَةَ زَوْجِ النَّبِيِّ ﷺ هَلْ كَانَ رَسُولُ اللهِ ﷺ يُصَلِّي فِي الثَّوْبِ الَّذِي يُجَامِعُ فِيهِ؟ قَالَتْ نَعَمْ «إِذَا لَمْ يَرَ فِيهِ أَذًى»