It is narrated from Sayyiduna Abu al-Shumus al-Balawi (may Allah be pleased with him) that on the day of al-Hijr, the Prophet (peace and blessings be upon him) forbade his Companions from their well. So whoever had kneaded dough threw it away, and whoever had hays (a dish of dates, butter and curd) threw it away as well.
Hadith Referenceالمعجم الكبير للطبراني / مسند من يعرف بالكنى / 19029