Report to your group leader and police, then contact your embassy (most have temporary الحج-season offices in مكة) for an الطوارئ travel document.
Losing your passport during الحج is stressful but manageable with the right steps. First, report the loss to your الحج group leader or tour operator, as they often have experience with this situation and maintain relationships with the authorities. Then file a police report at the nearest Saudi police station — you will need this report number for the embassy process.
Contact your country's embassy or consulate immediately. During الحج season, many countries set up temporary consular offices in مكة and منى specifically to handle such emergencies. The embassy will issue an الطوارئ travel document or temporary passport that allows you to complete your الحج and return home. Always carry photocopies of your passport, visa, and الحج permit in a separate location from the originals, and store digital copies on your phone or email as backup.