I can’t speak for what all (or any) Muslims “believe”. I consider all such kinds of rules and regulations “of men”.
Of course, in actuality they are man-made rules, dressed up with some pretty words to make them sound divinely-ordained, so I don’t disagree with you. The chance there is an angel named Gabriel who spoke to a man named Mohammed about the wishes of a deity named Allah is nil. Anyone who tries to start a conversation with me about how his laws are the laws of God and my laws are the laws of men is in for a long night, because I would never agree to that statement.
The only reason I can speak about what Muslims believe is that I read their diatribes on Sharia, and all of those diatribes reference the divinely-ordained nature of the Sharia laws.





