AML legislation is the making of laws and rules to prevent, detect, and report any activity that is suspected to be money laundering or terrorist financing, especially in the banking and fintech industries.