Ibn ‘Abbas reported the Prophet as saying, “The circumambulation of the House is like prayer, except that you speak while performing it; but he who speaks must speak only what is good."
Tirmidhi, Nasa’i and Darimi transmitted it, Tirmidhi mentioning a number who traced it no farther back than Ibn ‘Abbas.