The Talmud
סנהדרין דף ט׳Sanhedrin 9a
Amud a of Sanhedrin 9 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Sanhedrin 9a · סנהדרין ט׳ א
דאתרו ביה מלקות ולא אתרו ביה קטלא
— where they warned him of lashes and did not warn him of death.
וקמיפלגי בפלוגתא דרבי ישמעאל ורבנן דתנן מכות בשלשה משום רבי ישמעאל אמרו בעשרים ושלשה
And they differ in the dispute of Rabbi Yishmael and the Rabbis, for we learnt: Lashes are by three; in the name of Rabbi Yishmael they said: by twenty-three.
רבינא אמר כגון שנמצא אחד מן העדים קרוב או פסול וקמיפלגי בפלוגתא דרבי יוסי ורבי אליבא דר' עקיבא דתנן רבי עקיבא אומר לא בא שלישי אלא להחמיר עליו לעשות דינו כיוצא באלו
Ravina said: such as where one of the witnesses was found to be a relative or unfit, and they differ in the dispute of Rabbi Yose and Rabbi according to Rabbi Akiva; for we learnt: Rabbi Akiva says: the third comes only to make it harder for him, to make his law like that of these.
א"כ ענש הכתוב את הניטפל לעוברי עבירה כעוברי עבירה על אחת כמה וכמה שישלם שכר את הניטפל לעושה מצוה כעושה מצוה
If so, if Scripture punished one who joins himself to transgressors as the transgressors themselves, how much the more so will He pay a reward to one who joins himself to the doer of a commandment as the doer of the commandment.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.