I think you all will like this. Yes, there is a prayer-like unto David's. It is the Salt Lake Temple dedication. Here us the applicable paragraph.
Heavenly Father, when Thy people shall not have the opportunity of entering this holy house to offer their supplications unto Thee, and they are oppressed and in trouble, surrounded by difficulties or assailed by temptation and shall turn their faces towards this Thy holy house and ask Thee for deliverance, for help, for Thy power to be extended in their behalf, we beseech Thee, to look down from Thy holy habitation in mercy and tender compassion upon them, and listen to their cries. Or when the children of Thy people, in years to come, shall be separated, through any cause, from this place, and their hearts shall turn in remembrance of Thy promises to this holy Temple, and they shall cry unto Thee from the depths of their affliction and sorrow to extend relief and deliverance to them, we humbly entreat Thee to Turn Thine ear in mercy to them; hearken to their cries, and grant unto them the blessings for which they ask.
You can find the whole prayer here:
Email (will not be published)
Daily news, articles, videos and podcasts sent straight to your inbox.