Sunan Ibn Majah, Book 1, Hadith 394 (Ibn Majah 660)

It was narrated from Zuhri that:

Mahmud bin Rabi' remembered that the Prophet spat into a bucket from a well that belonged to them.