Jami` at-Tirmidhi, Book 9, Hadith 50 (Tirmidhi 858)

Jabir narrated:

"The Prophet performed Raml from the (Black) Stone to the (Black) Stone for three (circuits), and he walked four (circuits)."