I dont see anything like that in the Maryland statutes:
§ 11-505. When dog killing permitted
Any person may kill any dog which he sees in the act of pursuing, attacking, wounding or killing any poultry or livestock, or attacking human beings whether or not such dog bears the proper license...