Tony winner Lin-Manuel Miranda, the star, author and composer for the show, made a pointed reference to an unnamed celebrity audience member, who practised poor theatre-going etiquette, reported the New York Daily News.
"Tonight was the first time I asked stage management NOT to allow a celebrity (who was texting all through Act 2) backstage #noselfieforyou," Miranda Tweeted on Saturday night.
The tweet was later deleted but according to sources it was Madonna who was texting throughout the night.
The singer stopped when an audience member told her off.