Buddhism has no such formula. You can recite the name of Amitabha for the deceased respectfully and sincerely, as many as possible.
You can also release the dead, do good deeds, and help the temple to repair blessings. This can really benefit the dead. According to the Buddhist scriptures, turning over a dead person deserves 6 points for merit, and the dead person 1 point.
Don't be superstitious about folk recipes, many of them are superstitious. Not good for the dead.
Funeral follow-up:
The people carried coffins, and they lost their lives. Hemp rope is to be untied and thrown away by the dutiful son's driver when he goes out. Then, the dutiful sons walked all the way crying, kneeling all the way back, shouting: thank you, thank you, firecrackers sounded and horns sounded.
The dutiful son and daughter are crying with tears and runny noses, especially the woman sitting in the car, cursing while crying. The old man with a basket threw paper money into the basket and threw it away.
On the grave, people help put the coffin in the grave. People shouted slogans of one, two and three, and put the coffin firmly in the middle of the grave. Then, the steward said, "Round grave, filial son and daughter", and around the grave, men and women turned three times in the opposite direction. Finally, people with banners want to throw them into the grave, wives.
After that, the grave digger began to lay bricks or bury the soil, and the filial sons and daughters gathered together to make the last cry. Some even fainted from crying, and sometimes they were advised not to leave. The steward wanted to burn all kinds of paper products, and the fire broke out at once, so people hid and stopped crying. Then, they untied their hats and headbands and walked slowly back along the way they came.
Before the funeral wake of the Han nationality, the dutiful sons knelt down to burn paper together, relatives and friends gathered in front of the coffin, and the teacher of Yin and Yang stood in front of the coffin. Do men and women need to "light up"? (i.e. uncover the material cover). If they all agree, the division of Yin and Yang will be "enlightened". After the opening ceremony, the eldest son of the deceased will wipe his eyes and face value for his relatives with a cotton ball dipped in wine, which is also the last time relatives and friends pay tribute to the remains.