Abu Musa al-Ash'ari related that the Prophet, may Allah blesshim and grant him peace, was sitting in a walled garden on the rim of awell, dangling his feet into the well. (PT)
English reference (PT): Book 48, Hadith 1195 (PT)
Arabic reference (PT): Book 1, Hadith 1195 (PT)