Ruling resonates with essence of Islam