Jami` at-Tirmidhi, Book 9, Hadith 56 (Tirmidhi 864)

Ibn Abbas narrated:

"The Messenger of Allah only performed the Sa'i of the House and of As-Safa and Al-Marwah to show his strength to the idolaters."