No widow is to give anything for her dower or marriage portion after the death of her husband, but she may remain in his house for forty days after his death, and her dower is to be assigned to her within that period; and she is to have her marriage portion and her inheritance immediately.