When the Messenger of Allah (PBUH) performed the first circumambulation, he jogged three circuits and walked four, and he walked swiftly at the rainwater passage when pacing between Safa and Marwah.
For the first circumambulation of Hajj or Umrah [that is done upon arrival to Ka'bah], the Messenger of Allah (PBUH) used to jog in three circuits, walk four, then pray two rak'ahs, then perform pacing between Safa and Marwah.