عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ رَضِيَ اللَّهُ عَنْهُمَا أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَانَ إِذَا وَقَفَ عَلَى الصَّفَا يُكَبِّرُ ثَلَاثًا وَيَقُولُ: ((لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، لَهُ الْمُلْكُ وَلَهُ الْحَمْدُ، وَهُوَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ)) يَصْنَعُ ذَلِكَ ثَلَاثَ مَرَّاتٍ وَيَدْعُو وَيَصْنَعُ عَلَى الْمَرْوَةِ مِثْلَ ذَلِكَ
Narrated by Sayyiduna Jabir bin Abdullah (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) would stand on Safa, he would say "Allahu Akbar" three times, then recite this supplication three times: "La ilaha illallahu wahdahu la sharika lahu, ... wa huwa 'ala kulli shay'in qadeer." In this way, the Prophet (peace and blessings be upon him) would do this three times and supplicate each time, then on Marwah, the Prophet (peace and blessings be upon him) would repeat the same action.