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. (RU)
English reference (RU): Book 48, Hadith 1195 (RU)
Arabic reference (RU): Book 1, Hadith 1195 (RU)