“This prayer is a very old and beautiful invocation to St. Joseph. It is said to have been found in the fiftieth year of Our Lord and Savior Jesus Christ. In 1505 it was sent from the Pope to Emperor Charles when he was going into battle. St. Joseph was invoked for protection against a sudden death, drowning, poisoning; for protection against falling into the hands of the enemy, being burned in a fire or overpowered in battle. This prayer can be said for nine days as a novena prayer.”
-from Catholic Culture
O St. Joseph, whose protection is so great, so strong, so prompt before the throne of God, I place in you all my interests and desires. O St. Joseph, do assist me by your powerful intercession and obtain for me from your Divine Son all spiritual blessings through Jesus Christ, Our Lord; so that, having engaged here below your heavenly power, I may offer my thanksgiving and homage to the most loving of fathers.
O St. Joseph, I never weary contemplating you and Jesus asleep in your arms. I dare not approach while He reposes near your heart. Press Him in my name and kiss His fine head for me, and ask Him to return the kiss when I draw my dying breath. St. Joseph, patron of departing souls, pray for us. Amen.
O St. Joseph, foster father of Jesus Christ and true spouse of the Virgin Mary pray for us and for those who will die this day (or night).
O Blessed St. Joseph, faithful guardian and protector of virgins, to whom God entrusted Jesus and Mary, I implore you by the love which did bear them, to preserve me from every defilement of soul and body, that I may always serve them in holiness and purity of love. Amen