The Talmud
יומא דף ע״דYoma 74a
Amud a of Yoma 74 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Yoma 74a · יומא ע״ד א
ואליבא דרבי עקיבא דאמר אדם אוסר עצמו בכל שהוא
— and according to Rabbi Akiva, who said that a man forbids himself in any amount at all.
וכי תימא כיון דאית ליה היתר מן התורה קא חייל קרבן שבועה והתנן שבועת העדות אינה נוהגת אלא בראויין להעיד והוינן בה למעוטי מאי רב פפא אמר למעוטי מלך
And should you say: since it is permitted by Torah law, the offering for an oath takes effect upon it — but have we not learnt: "the oath of testimony applies only to those who are fit to testify"; and we discussed it: to exclude what? Rav Pappa said: to exclude a king.
רב אחא בר יעקב אמר למעוטי משחק בקוביא והא משחק בקוביא מדאורייתא מיחזי חזי ורבנן הוא דפסלוהו ולא קא חיילא עליה שבועה
Rav Acha bar Yaakov said: to exclude one who plays with dice. But one who plays with dice is by Torah law indeed fit, and it is the Rabbis who disqualified him; and yet the oath does not take effect upon him!
שאני התם דאמר קרא (ויקרא ה, א) אם לא יגיד והאי לאו בר הגדה הוא כלל
There it is different, for the verse says "if he does not utter it" (Leviticus 5:1), and this one is not fit to utter at all.
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.