Rules regarding Repetition of Ṣalāt Al-Mayyit
Issue No.568- It is makrūh to perform prayer on a dead body a number of times. Rather it is not permissible as an obligatory precaution for to offer the prayer several times. However, if the dead person was a learned and pious one, it is not makrūh to do so.