Shulchan Arukh, Orach Chayim Siman 485
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
דין מי שנשבע שלא לאכול מצה. ובו סעיף אחד
אמר שבועה שלא אוכל מצה סתם אסור לאכול מצה בליל פסח אמר שבועה שלא אוכל מצה בליל פסח לוקה ואוכל מצה בליל פסח:
The Law Regarding One Who Swore Not to Eat Matzah (One Section)
If a person swore generally, saying, "I swear not to eat matzah," he is forbidden to eat matzah on the night of Passover. However, if he specifically swore, "I swear not to eat matzah on the night of Passover," he receives lashes for taking an invalid oath and is still obligated to eat matzah on the night of Passover.