Hawzah News Agency – What is your ruling on an autopsy of a deceased Muslim?
Answer: It is not permissible to perform autopsy on the body of a dead Muslim for the sake of education and other purposes. It is only permissible, if the life of another Muslim depends on it—even if it is sometime in the future.
Source: https://www.sistani.org/