Translation:

240. Those of you who die and leave widows should bequeath for their widows a year's maintenance and residence; but if they leave (the residence) there is no blame on you for what they do with themselves provided it is reasonable and Allah is Exalted in Power Wise.

Notes (Tafseer)

273. Opinions differ whether the provision (of a year's maintenance, with residence) for a widow is abrogated by the share which the widow gets (one-eighth or one- fourth) as an heir (Q.iv.12). I do not think it is. The bequest (where made) takes effect as a charge on the property, but the widow can leave the house before the year is out, and presumably the maintenance then ceases.