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