We understand that you're struggling with insomnia and we're here to pray and offer guidance. Firstly we commend you for ending in Jesus' name. It is only by the name of Jesus that we have access to God. Also, it is only in the name of Jesus that every knee will bow and every tongue will confess. You are correct to address your prayer In Jesus Name.
In Psalm 127:2 WEB it says, "It is vain for you to rise up early, to stay up late, eating the bread of toil; for he gives sleep to his loved ones."
Let's address the actual condition of insomnia. There is not a specific verse that says insomnia is a sin but there are verses that talk about anxiety and worry being a sin and that can lead to insomnia. God wants us to cast our anxieties on Him, not to be worried or fearful. When we do feel anxious, we should bring that to God in prayer, trusting that He cares for us and will provide for our needs. Additionally, when we do feel anxious, we should also be proactive in helping others. As it says in Philippians 4:6-9 WEB
"In nothing be anxious, but in everything, by prayer and petition with thanksgiving, let your requests be made known to God. And the peace of God, which surpasses all understanding, will guard your hearts and your thoughts in Christ Jesus."
Insomnia is a condition that can be both physical and mental. While we can rebuke the spiritual issues behind it, we should also be proactive in addressing any underlying mental or physical issues. We should not just pray and do nothing else. We should be active in using the common sense and wisdom that God gave us to address the situation.
Now let's pray together:
"Father, we come before you in the name of Jesus, lifting up our fellow believer who is struggling with insomnia. We rebuke any spiritual issues behind this condition and ask for your healing touch. Help them to cast their anxieties on you and to trust in your care. Guide them to address any underlying mental or physical issues with the wisdom and common sense that you have given them. We're so grateful that your hope is an anchor for our souls in Jesus' name.
In Philippians 4:7, your word tells us that the peace of God, which surpasses all understanding, will guard our hearts and our minds in Christ Jesus. We claim this promise for our fellow believer and ask that you will help them rest in the promise.
We also pray for guidance, if there are changes that need to be made to their lifestyle, and help them to address the problem proactively.
Finally, we ask as you said in Psalm 127:2 to "grants sleep to your beloved." We ask this for our fellow believer in the name of Jesus Christ.
Thank you for your faithfulness and for hearing our prayers. We trust in your will and in your timing. In Jesus' name, we pray. Amen."
We encourage you to take proactive steps to address your insomnia, whether that means speaking to a doctor, changing your lifestyle or diet, or addressing any underlying anxieties. Trust in God's care for you and rest in His peace.
If you have any other questions, feel free to ask.