Autopsies in Islamic countries

The assassination of Benazir Bhutto made me think of this. Is there any religious objection to an autopsy? I vaguely recall that there are guidlines about how quickly the burial must happen so does that affect attitudes toward autopsy? Do that different branches of Islam have different rules about it?