يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ شَهَـٰدَةُ بَيْنِكُمْ إِذَا حَضَرَ أَحَدَكُمُ ٱلْمَوْتُ حِينَ ٱلْوَصِيَّةِ ٱثْنَانِ ذَوَا عَدْلٍ مِّنكُمْ أَوْ ءَاخَرَانِ مِنْ غَيْرِكُمْ إِنْ أَنتُمْ ضَرَبْتُمْ فِى ٱلْأَرْضِ فَأَصَـٰبَتْكُم مُّصِيبَةُ ٱلْمَوْتِ ۚ تَحْبِسُونَهُمَا مِنۢ بَعْدِ ٱلصَّلَوٰةِ فَيُقْسِمَانِ بِٱللَّهِ إِنِ ٱرْتَبْتُمْ لَا نَشْتَرِى بِهِۦ ثَمَنًا وَلَوْ كَانَ ذَا قُرْبَىٰ ۙ وَلَا نَكْتُمُ شَهَـٰدَةَ ٱللَّهِ إِنَّآ إِذًا لَّمِنَ ٱلْـَٔاثِمِينَ
yāayyuhā alladhīna āmanū shahādatu baynikum idhā ḥaḍara aḥadakumu l-mawtu ḥīna l-waṣiyati ith'nāni dhawā ʿadlin minkum aw ākharāni min ghayrikum in antum ḍarabtum fī l-arḍi fa-aṣābatkum muṣībatu l-mawti taḥbisūnahumā min baʿdi l-ṣalati fayuq'simāni bil-lahi ini ir'tabtum lā nashtarī bihi thamanan walaw kāna dhā qur'bā walā naktumu shahādata l-lahi innā idhan lamina l-āthimīna
You who believe, when death approaches any of you, let two just men from among you act as witnesses to the making of a bequest, or two men from another people if you are journeying in the land when death approaches. Keep the two witnesses back after prayer, if you have any doubts, and make them both swear by God, ‘We will not sell our testimony for any price, even if a close relative is involved. We will not hide God’s testimony, for then we should be doing wrong.’
O you who believe! When death approaches any of you, and you make a bequest, (then take) the testimony of two just men of your own folk or two others from outside, while you are travelling through the land and death befalls on you. Detain them both after As-Salât (the prayer), (then) if you are in doubt (about their truthfulness), let them both swear by Allâh (saying): "We wish not for any worldly gain in this, even though he (the beneficiary) be our near relative. We shall not hide Testimony of Allâh, for then indeed we should be of the sinful."