Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:2:198

There is no blame upon you for seeking bounty from your Lord ˹during Hajj˺. But when you depart from 'Arafat, remember Allah at al- Mash'ar al-Haram. And remember Him, as He has guided you, for indeed, you were before that among those astray.  

You would not be at fault if you should seek bounty, sustenance, from your Lord, by engaging in commerce at the Pilgrimage: this was revealed in response to their aversion to such an idea; but when you press on, push on, from ‘Arafāt, having stood ˹in prayer˺ upon it, then remember God, after the overnight stay at Muzdalifa, by repeating the talbiya ˹sc. labbayka Llāhummā labbayk, ‘at thy service, O God, at thy service’˺, the tahlīl ˹lā ilāha illā Llāh, ‘no god but God’˺ and making supplications, at the Sacred Waymark, a mountain at the end of Muzdalifa, called Quzah. In one hadīth, the Prophet (s) stood there remembering God and supplicating until his face began to glow brightly, according to Muslim; and remember Him as He has guided you, to the principal rites of His religion and the rituals of His Pilgrimage (the kāf of ka-mā, ‘as’, is the particle denoting the reason), though previously, before His guidance, you were astray.
القرآن:٢:١٩٨

لَيْسَ عَلَيْكُمْ جُنَاحٌ أَنْ تَبْتَغُوا فَضْلًا مِنْ رَبِّكُمْ ۚ فَإِذَا أَفَضْتُمْ مِنْ عَرَفَاتٍ فَاذْكُرُوا اللَّهَ عِنْدَ الْمَشْعَرِ الْحَرَامِ ۖ وَاذْكُرُوهُ كَمَا هَدَاكُمْ وَإِنْ كُنْتُمْ مِنْ قَبْلِهِ لَمِنَ الضَّالِّينَ  

{ليس عليكم جناح} في {أن تبتغوا} تطلبوا {فضلا} رزقا {من ربكم} بالتجارة في الحج نزل ردا لكراهيتهم ذلك {فإذا أفضتم} دفعتم {من عرفات} بعد الوقوف بها {فاذكروا الله} بعد المبيت بمزدلفة بالتلبية والتهليل والدعاء {عند المشعر الحرام} هو جبل في آخر المزدلفة يقال له قزح وفي الحديث أنه ﷺ وقف به يذكر الله ويدعو حتى أسفر جدا رواه مسلم {واذكروه كما هداكم} لمعالم دينه ومناسك حجه والكاف للتعليل {وإن} مخففة {كنتم من قبله} قبل هداه {لمن الضالين}.