Ayesha reported,

The Prophet ﷺ would get something on his garment, so he would wash that spot from his garment, then he would go out in it to the prayer while I could still see the trace of the washing on it.

Ibn Majah 536

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا عبدة بن سليمان عن عمرو بن ميمون قال سألت سليمان بن يسار عن الثوب يصيبه المني أنغسله أو نغسل الثوب كله قال سليمان

قالت عائشة

كان النبي ﷺ يصيب ثوبه فيغسله من ثوبه ثم يخرج في ثوبه إلى الصلاة وأنا أرى أثر الغسل فيه

ابن ماجه 536صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
Semen that gets on clothing
Numbering
Darussalam 536
Ibn Majah 536