Sifra, Kedoshim, Chapter 4
[יב] "לא תקם ולא תטר את בני עמך" – נוקם אתה ונוטר לעכו"ם. "ואהבת לרעך כמוך" – רבי עקיבא אומר זה כלל גדול בתורה. בן עזאי אומר "זה ספר תולדות אדם" – זה כלל גדול מזה.
12) "You shall not take revenge and you shall not bear a grudge against the children of your people": You may take revenge of and bear a grudge against others (idolators). "And you shall love your neighbor as yourself": R. Akiva says: This is an all-embracing principle in the Torah. Ben Azzai says: (Bereshith 5:1) "This is the numeration of the generations of Adam" — This is an even greater principle.
Sifra, Kedoshim, Chapter 4 12 · Sifra by Rabbi Shraga Silverstein