(30) You shall be holy people to Me: you must not eat flesh torn by beasts in the field; you shall throw it to the dogs.
לכלב תשלכון אתו. לְלַמֶּדְךָ שֶׁהַכֶּלֶב נִכְבָּד מִמֶּנּוּ, וְלִמֶּדְךָ הַכָּתוּב שֶׁאֵין הַקָּבָּ"ה מְקַפֵּחַ שְׂכַר כָּל בְּרִיָּה, שֶׁנֶּאֱמַר וּלְכָל בְּנֵי יִשְׂרָאֵל לֹא יֶחֱרַץ כֶּלֶב לְשֹׁנוֹ (שמות י"א), אָמַר הַקָּבָּ"ה תְּנוּ לוֹ שְׂכָרוֹ (מכילתא):
It is to teach you that the dog is to be given preference in this respect and Scripture tells you at the same time that God does not withhold the reward due to any of His creatures. The dog is entitled to reward because it is stated, (Exodus 11:7) “But against the children of Israel shall not a dog move its tongue”, and this happened. The Holy One, blessed be He, said: Give it the reward it deserves (Mekhilta d'Rabbi Yishmael 32:30:3).