Al-Kāfi

Hadith 1641
sai
3ـ ابْنُ أَبِي عُمَيْرٍ عَنْ حَمَّادٍ عَنِ الْحَلَبِيِّ قَالَ سَأَلْتُ أَبَا عَبْدِ الله (عَلَيْهِ السَّلاَم) عَنِ الرَّجُلِ يَطُوفُ بَيْنَ الصَّفَا وَالْمَرْوَةِ أَ يَسْتَرِيحُ قَالَ نَعَمْ إِنْ شَاءَ جَلَسَ عَلَى الصَّفَا وَالْمَرْوَةِ وَبَيْنَهُمَا فَيَجْلِسُ.
3. Ibn abu ‘Umayr has narrated from Hammad from al-Halabiy who has said the following: “I once asked abu ‘Abd Allah (a.s.), about a man who performs Sa‘y between al-Safa’ and al-Marwah: if he can rest. He (the Imam) said, ‘Yes, he can do so on al-Safa’ or al-Marwah or in between.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī