The Prophet (ﷺ) once spat in his clothes.

Sahih al-Bukhari Book 4 Hadith 108

Sahih al-Bukhari #241

Ablutions (Wudu') 4:108

Narrated Anas:

The Prophet (ﷺ) once spat in his clothes.

Chapter: Spitting or blowing out the nose or doing similar action in one's own garment

Grade: Sahih