Patristic

Didache 1:2

1 There are two Ways, one of Life and one of Death, and there is a great difference between the two Ways. 2 The way of life is this: First, you shalt love the God who made thee, secondly, thy neighbor as thyself; and whatsoever thou wouldst not have done to thyself, do not thou to another. 3 Now, the teaching of these words is this: Bless those that curse you, and pray for your enemies, and fast for those that persecute you. For what credit is it to you if you love those that love you? Do not even the heathen do the same? But, for your part, love those that hate you, and you will have no enemy. 4 Abstain from carnal and bodily lusts. If any man smite thee on the right cheek, turn to him the other cheek also, and thou wilt be perfect. If any man impress thee to go with him one mile, go with him two. If any man take thy coat, give him thy shirt also. If any man will take from thee what is thine, refuse it not, not even if thou canst.

Date: 50-70 C.E.
* Dates are based on scholarly estimates
Rabbinic

Shabbat 31a

Babylonian Talmud

There was another incident involving one gentile who came before Shammai and said to Shammai: Convert me on condition that you teach me the entire Torah while I am standing on one foot. Shammai pushed him away with the builder’s cubit in his hand. This was a common measuring stick and Shammai was a builder by trade. The same gentile came before Hillel. He converted him and said to him: That which is hateful to you do not do to another; that is the entire Torah, and the rest is its interpretation. Go study.

Date: 450-550 C.E.
* Dates are based on scholarly estimates