Even when you are not the one going through the trying time but someone close to you, God still wants to be involved through you. Pray this:
Father, right now I can't help this person (mention the name of the person you are praying for) but I ask on his behalf that you be with him at this moment. Do not let his strength fail him, Lord. Keep him strong and take away this suffering from him.
Dear God, may this person not give up on the situation but let every plan of the enemy over his life be destroyed. May Your name be glorified in his life now and forever. Thank You Father because You are reaching out to him now. Amen.