Mahmud bin Rabi' remembered that the Prophet spat into a bucket from a well that belonged to them.
Sunan Ibn Majah Book 1, Hadith 394