The classic phrase people say is: HaMakom yenachem etchem betoch sh’ar aveilei Tzion viYerushalayim - May the Omnipresent One console you among the other mourners of Zion and Jerusalem. Another version is: min HaShamayim tenuchamu – May you be consoled by Heaven.