Surah Al-Baqarah, ayah 234

2:234

وَٱلَّذِينَ يُتَوَفَّوۡنَ مِنكُمۡ وَيَذَرُونَ أَزۡوَٰجٗا يَتَرَبَّصۡنَ بِأَنفُسِهِنَّ أَرۡبَعَةَ أَشۡهُرٖ وَعَشۡرٗاۖ فَإِذَا بَلَغۡنَ أَجَلَهُنَّ فَلَا جُنَاحَ عَلَيۡكُمۡ فِيمَا فَعَلۡنَ فِيٓ أَنفُسِهِنَّ بِٱلۡمَعۡرُوفِۗ وَٱللَّهُ بِمَا تَعۡمَلُونَ خَبِيرٞ ٢٣٤

Walladhīna yutawaffawna minkum wayadharūna azwājan yatarabbasna bi anfusihinna arba'ata ashhurin wa'ashran fa idhā balaghna ajalahunna falā junāha 'alaykum fīmā fa'alna fī anfusihinna bil-ma'rūfi wallāhu bimā ta'malūna khabīr

And those who are taken in death among you and leave wives behind - they, [the wives, shall] wait four months and ten [days]. And when they have fulfilled their term, then there is no blame upon you for what they do with themselves in an acceptable manner.92 And Allāh is [fully] Aware of what you do.

Footnotes

92 They may remarry if they wish.