The rules don’t apply to Madonna.

Madge was spotted on Saturday at Dave Chappelle’s limited-run Broadway show, where guests are required to put their phones in securely locked bags to prevent them from sneakily recording the show — except the Material Girl, apparently.

“She was the only one who got to keep her phone,” said a spy at the Lunt-Fontanne Theatre, adding, “She laughed at everything.”

We’re told Madonna came with three dancers about 25 minutes before Chappelle went on, when opener Anderson Paak was performing.

After staying for two hours, which included an audience Q&A, we’re told she was “whisked away by security the moment that Dave was done.”

More at PageSix