What Is Attributed to Shahrur
In his treatment of drinking wine, Shahrur interprets the command to obey the Messenger as obedience to him during his lifetime in his capacity as a legislator who enacted civil law. He presents what he says about flogging the drunkard as an example of a law the Messenger established for his own era.
Muhammad Shahrur: Toward New Foundations for Islamic Jurisprudence
Limits of the Evidence
The evidence concerns the example of wine and the punishment for intoxication; by itself, it does not define the scope of this description across other acts or legislations attributed to the Messenger.