It is narrated from Hazrat Aisha that the Prophet (peace be upon him) forbade drinking water from a place where people's dirty water accumulates.