Maryland Criminal Law Section 4-205
§ 4-205.
  (a)   Notwithstanding § 14-102 of this article or any other provision of law, except with respect to a sentence prescribed in § 4-203(c)(2) of this subtitle, a court may not:
    (1)   enter a judgment for less than the mandatory minimum sentence prescribed in § 4-203 or § 4-204 of this subtitle in a case in which a mandatory minimum sentence is specified under § 4-203 or § 4-204 of this subtitle; or
    (2)   suspend a mandatory minimum sentence prescribed in § 4-203 or § 4-204 of this subtitle.
  (b)   Notwithstanding § 14-102 of this article or any other provision of law:
    (1)   except with respect to a sentence prescribed in § 4-203(c)(2) of this subtitle for wearing, carrying, or transporting a handgun other than on public school property, a court may not order probation before judgment in a case arising under this subtitle; and
    (2)   except with respect to a sentence prescribed in § 4-203(c)(2) of this subtitle, a court may not order probation with respect to a case arising under § 4-203 or § 4-204 of this subtitle that would have the effect of reducing the actual period of imprisonment prescribed in § 4-203 or § 4-204 of this subtitle as a mandatory minimum sentence.