Meaning
A defence found in many statutes creating strict liability offences: the defendant is not guilty if they took all reasonable precautions and exercised all due diligence to avoid committing the offence.
Example
A shop that trains staff and checks ID may be able to rely on due diligence if a member of staff sells to someone underage.
Where it comes from
Statutory, for example in food safety and trading standards law.