(S.A.W.S) that he said that the first night is the most fearful and difficult for the dead person, hence give Sadqa for his safety. If you do not have to give anything as 'Sadqa' then recite two unit (Rak'at) Namaz: In the first Rak'at after Surah-al-Hamd recite twice Surah-at-Tawheed, and in the second Rak'at after Surah-al-Hamd recite ten times Surah-at-Takasur. After finishing the Namaz recite the following dua:
اللهم صل على محمد وآل محمد وابعث ثوابها إلى قبر ذلك الميت وفلان بن فلان
(here take the name of the dead man)
Allah will immediately send one thousand Angels to the grave of the dead person with attires of Paradise, and expand his grave till Qayamat. And for the one who recites this Namaz, Allah will offer him great rewards and exalt his position forty times.
The other Namaz to be recited on the first night of burial is as follows: Two Rak'at Namaz is to be recited, in the first Rak'at after Surah-al-Hamd recite once Ayatal Kursi, and in the second Rak'at after Surah-al-Hamd recite ten times surah-al-Qadr. After finishing Namaz say:
اللهم صل على محمد وال محمد وابعث ثوابها الى قبر فلان
(here take the name of the deceased person).
My teacher Allamah Mirza Husain Noori (may Allah exalt his position) quotes in his book Darus Salaam from