The law you are looking for is generally known as a Good Samaritan law.

Direct answer

In many places, the law that provides legal protection to individuals who assist someone in an emergency, as long as they act reasonably and without expecting payment, is called a Good Samaritan law. These laws are designed to encourage bystanders to help injured or ill people by limiting their legal liability if something goes wrong.

How Good Samaritan laws usually work

  • They protect people who voluntarily give emergency help (like CPR or first aid).
  • Protection usually applies only if the helper acts in good faith and is not grossly negligent or intentionally harmful.
  • They typically apply when the helper is not expecting a reward or payment for the assistance.
  • Exact rules (who is covered, where, and in what situations) vary by country, state, or province , so the details depend on the local legal system.

Simple example

If you see someone collapse in a public place and you try CPR or call emergency services and follow their instructions, a Good Samaritan law in your area will often protect you from being successfully sued, provided you acted as a reasonable person would in that emergency.

TL;DR: The law that gives legal protection to people who help others in emergencies is commonly called a Good Samaritan law , though the exact name and details differ by jurisdiction.