Muawiya bin Abu Sufyan reported,

He asked his sister Umm Habibah, the wife of the Prophet ﷺ, whether the Messenger of Allah ﷺ used to pray in the same garment in which he had been intimate with his wife.She replied, "Yes, as long as there was no impurity on it."

Ibn Majah 540

Sahih

حدثنا محمد بن رمح أنبأنا الليث بن سعد عن يزيد بن أبي حبيب عن سويد بن قيس عن معاوية بن حديج

عن معاوية بن أبي سفيان

أنه سأل أخته أم حبيبة زوج النبي ﷺ هل كان رسول الله ﷺ يصلي في الثوب الذي يجامع فيه قالت نعم إذا لم يكن فيه أذى

ابن ماجه 540صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Prayer in the garment in which one has intercourse
Numbering
Darussalam 540
Ibn Majah 540