Parshas Mishpatim · Passuk 21:37
Chabad.org — English translation + Rashi
Torah Temimah points to מכילתא (verified).
Sefaria — Exodus 21:37
Sefaria — מכילתא
English: Slaughter is compared to sale and sale to slaughter: just as sale is outside the owner’s domain and permitted for benefit, so too slaughter; and just as slaughter must be of the whole, so too sale must be of the whole.
On the daf / in context: See the cited source for the full section.
Derash on the verse.
The derashah of Torah Temimah on the words וטבחו או מכרו establishes the classical source and the operative rule derived from it.