The timeless part of the religion that is “Hikma (Iman and morals) ” is always separate from politics. Just like it’s separate from economics and science etc. It only provides some basic ethical principles that help mankind excel in those fields.
The time bond part of the religion that is Kitab (or shariah law) includes politics, economics, halal food etc. but it’s application is basically meant for the prophetic era only. However, its application can drag longer until better ways of protecting human rights are invented as a result of human progress in social systems and technology.