a child that dies right after birth is washed,its salat is performed it is entitled to be a heir and to leave inheritance,and it is named. a child that is born dead is not washed and its salat is not performed if it was not four months old(when it was born).if it was four months old is washed shrouded in one piece and buried;but its salat is not performed.