There are many different Duaa.

 

“_Assalaamu ‘alaykum ahl al-diyaar min al-mu’mineen
wa’l-Muslimeen, wa inna in sha Allaah bikum laahiqoon, as’al
Allaaha lana wa lakum al-‘aafiyah_ (peace be upon you O people of
the dwellings, believers and Muslims, In sha Allaah we will join you,
I ask Allaah to keep us and you safe and sound).”

Wot dua should you read when you visit a graveyard

Funerals |