بسم الله الرحمن الرحيم
(1) It is un-Islamic custom to wait for forty days and whitewash the house. It is wajib to give it up.
(2) By taking the newborn baby from the hospital or the dead body the purity of a place is not affected; however if a place is smeared with impurity then the place shall be impure.
Allah knows Best!
Darul Uloom Deoband