Usul16

Chapter on Taking Pebbles for Jamarat From Inside or Outside the Sacred Area

faqih-2992Vol. 2, p. 473

يُجْزِيكَ أَنْ تَأْخُذَ حَصَى الْجِمَارِ مِنَ الْحَرَمِ كُلِّهِ إِلَّا مِنَ الْمَسْجِدِ الْحَرَامِ وَ مَسْجِدِ الْخَيْفِ[3].

"It is sufficient for you to take the pebbles for the Jamarat from anywhere within the boundaries of the Haram, except from the Sacred Mosque (Masjid al-Haram) and Masjid al-Khayf."