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 , if you are travelling through the land and the calamity of death befalls you . Detain them both after As-Salat ( the prayer ) , ( then ) if you are in doubt ( about their truthfulness ) , let them both swear by Allah ( saying ) : " We wish not for any worldly gain in this , even though he ( the beneficiary ) be our near relative .