חולין ב:ח · Chullin 2:8

הַשּׁוֹחֵט לְשֵׁם הָרִים, לְשֵׁם גְּבָעוֹת, לְשֵׁם יַמִּים, לְשֵׁם נְהָרוֹת, לְשֵׁם מִדְבָּרוֹת, שְׁחִיטָתוֹ פְסוּלָה. שְׁנַיִם אוֹחֲזִין בְּסַכִּין וְשׁוֹחֲטִין, אֶחָד לְשֵׁם אַחַד מִכָּל אֵלּוּ, וְאֶחָד לְשֵׁם דָּבָר כָּשֵׁר, שְׁחִיטָתוֹ פְסוּלָה:
In the case of one who slaughters an animal for the sake of, i.e., to worship, mountains, for the sake of hills, for the sake of seas, for the sake of rivers, or for the sake of wildernesses, his slaughter is not valid. If there were two people grasping a knife together and slaughtering an animal, one slaughtering for the sake of one of all those enumerated in the first clause of the mishna and one slaughtering for the sake of a legitimate matter, their slaughter is not valid.

Word-by-word Breakdown (מילים ושרשים)

הַשּׁוֹחֵט → one who slaughters [ש - ח - ט]לְשֵׁם → for the sake of [ש - מ - ה]הָרִים → mountains [ה - ר - ר]לְשֵׁם → for the sake of [ש - מ - ה]גְּבָעוֹת → hills [ג - ב - ע]לְשֵׁם → for the sake of [ש - מ - ה]יַמִּים → seas [י - ם]לְשֵׁם → for the sake of [ש - מ - ה]נְהָרוֹת → rivers [נ - ה - ר]לְשֵׁם → for the sake of [ש - מ - ה]מִדְבָּרוֹת → wildernesses [ד - ב - ר]שְׁחִיטָתוֹ → his slaughter [ש - ח - ט]פְסוּלָה → is invalid [פ - ס - ל]שְׁנַיִם → Two [ש - נ - ה]אוֹחֲזִין → grasping [א - ח - ז]בְּסַכִּין → a knife וְשׁוֹחֲטִין → and slaughtering [ש - ח - ט]אֶחָד → one [א - ח - ד]לְשֵׁם → for the sake of [ש - מ - ה]אַחַד → one [א - ח - ד]מִכָּל → of all [כ - ל - ל]אֵלּוּ → these וְאֶחָד → and one [א - ח - ד]לְשֵׁם → for the sake of [ש - מ - ה]דָּבָר → a matter [ד - ב - ר]כָּשֵׁר → legitimate [כ - ש - ר]שְׁחִיטָתוֹ → their slaughter [ש - ח - ט]פְסוּלָה → is invalid [פ - ס - ל]