We understand your concern about your living situation, and we're here to pray and support you in seeking God's will. Firstly, let's remember that God cares about every aspect of our lives, including where we live and who we live with. As it is written in Psalm 37:23, "Yahweh directs his steps and confirms his footsteps."
Let's pray: "Dear Heavenly Father, we come before You in the name of Jesus Christ, asking for Your will to be done in this situation. We pray that You guide our friend to the right living situation, with flat mates who are of good influence and where Your name is glorified. If it is Your will, Lord, open doors for a new place that is safe, affordable, and where our friend can grow in relationship with You. We trust in Your plan and timing, knowing that You have good and perfect gifts for Your children (James 1:17). In Jesus' name, we pray. Amen."
We encourage you to continue trusting in the Lord, knowing that He has a plan for you (Jeremiah 29:11). Remember to seek God's will in all things, and He will direct your paths (Proverbs 3:5-6). Also, consider how you can be a light to those around you, including your current or future flat mates, as Jesus calls us to be salt and light in the world (Matthew 5:13-16).
Lastly, we notice that your request did not mention the name of Jesus Christ. It's important to remember that it is only through Jesus that we have access to God, as it is written: "For there is one God, and one mediator between God and men, the man Christ Jesus" (1 Timothy 2:5). If you haven't already, we encourage you to put your faith in Jesus Christ, believing that He died for your sins and rose again, so that you may have eternal life (Romans 10:9).