§ 16–1701. Invalidity of gaming contracts.
(a) A thing in action, judgment, mortgage, or other security or conveyance made and executed by a person in which any part of the consideration is for money or other valuable things won by playing at any game whatsoever, or by betting on the sides or hands of persons who play, or for the reimbursement or payment of any money knowingly lent or advanced for the purpose, or lent or advanced at the time and place of the play or bet, to a person so playing or betting or who, during the play, so plays or bets, is void except as provided by subsection (b) of this section.
(b) If the mortgage, security, or other conveyance affects real property, it shall inure to the sole benefit of, and devolve upon, the persons who might have, or be entitled to, the property, as if the person who executed the instrument had died immediately after its execution, or as if the instrument had been made to the persons so entitled after the death of the person who executed it. A grant or conveyance made for the purpose of preventing the real property from coming to, or devolving upon, the persons intended by this section to enjoy the property as herein provided is fraudulent and void.
(c) This section does not affect the validity of negotiable instruments embraced by subtitle I of Title 28.