Parshas Mishpatim · Passuk 23:17
Chabad.org — English translation + Rashi
Torah Temimah points to חגיגה ד' א׳ (verified).
Sefaria — Exodus 23:17
Sefaria — חגיגה ד' א׳
English: It was taught: Others say that the tanner, the copper-smelter and the hide-worker are exempt from the obligation of re’iyah, because it says “all your males” — one who is fit to ascend together with all your males; these are excluded because they are not fit to ascend with all your males (owing to their offensive odor).
On the daf / in context: See the cited source for the full section.
Derash on the verse — occupational exemptions from re’iyah.
The derashah of Torah Temimah on the words כל זכורך establishes the classical source and the operative rule derived from it.