How would you translate the German word Tanzverbot? More interestingly, why can’t I find any (“official”) translation online, nor a Wikipedia article about the issue, even though (probably) Germany is not the only country that had and has this issue?
If I guess right, you're looking for an English word.
I think there are two words that fit in this context.
Ban is an official or legal prohibition Oxford Dictionaries
Prohibition is the action of forbidding something, especially by law Oxford Dictionaries
You can also use prohibition in religious contexts.
In extreme evangelical colleges, like Baylor University in Texas, Wheaton College in Illinois and Cornerstone University in Michigan, it was even prohibited for students to dance in public Guardian
I suggest: ban on dance or prohibition on dance