بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْم.
In the Name of God, Most Gracious, Most Merciful.
Those who wish to become brothers in Islam, bonded in faith and sincerity, shall sign this contract to affirm their commitment to one another, for the sake of Allah. This bond of friendship will be nurtured and strengthened by following the Qur'an and the Sunnah of the Prophet Muhammad (peace and blessings be upon him). It is through these divine sources that our brotherhood will grow, seeking the pleasure of Allah in all that we do.

The Messenger of Allah (peace and blessings be upon him) said, "There are seven whom Allah will shade in His shade on the Day when there is no shade but His... (one of them is) two men who love each other for the sake of Allah, meeting and parting for that reason" (Sahih Bukhari and Sahih Muslim).
In Islam, friendship is not merely a social bond; it is a sacred relationship rooted in the love for Allah. This contract symbolizes our intention to form lasting bonds, not for worldly benefit, but to support each other in faith, striving for righteousness, and uplifting one another on the journey to Allah. Through the Qur'an and the teachings of the Prophet (peace and blessings be upon him), we pledge to uphold the highest standards of brotherhood—seeking mutual benefit in this world and the next, guiding each other in times of difficulty and ease, and embodying the principles of honesty, loyalty, and selflessness.
We recognize that this friendship is a trust given to us by Allah, and as such, we will strive to uphold it with sincerity and devotion, seeking His pleasure in all that we do together. This brotherhood is more than companionship; it is an act of worship, a means of attaining nearness to Allah, and a way to secure His mercy and shade on the Day of Judgment. May Allah bless this bond and allow it to be a source of goodness, both in this life and the Hereafter.
To ensure the strength and sincerity of this bond, we are drawing from the profound wisdom of Imam Ghazali’s teachings on friendship and brotherhood. His insights offer a path to building relationships that are rooted in Islamic principles, emphasizing loyalty, trust, and the ultimate goal of helping one another on the journey to Allah. These teachings will serve as a guide and a checklist for each of you to read, reflect upon, and understand deeply.
Upon reading and internalizing these principles, we ask that you sign this contract, affirming your commitment to uphold the values of friendship for the sake of Allah. Once the contract is signed, we will initiate an interview process, where each of you will be carefully matched with a brother who shares the same dedication, so together, you can walk the path of faith and friendship in harmony. May this be a journey that brings you closer to Allah and strengthens your ties in this life and the next.
Understanding Friendship for the Sake of Allah
The purpose of friendship for the sake of Allah is to bring you closer to Him and prepare you for Judgment Day, where your deeds will be rewarded. This friendship is not built on temporary or worldly desires, but on a shared commitment to seek Allah’s pleasure and to support one another in this journey of faith.
Any other relationships not grounded in a deep understanding of this divine purpose will ultimately be fruitless. Such friendships, lacking a foundation in the pursuit of Allah, will not endure or bear the eternal benefits that friendship for His sake provides.
Please take a moment to read and reflect on this principle, as it forms the basis of the commitment you are about to make.
Introduction to Companionship
According to the teachings of "The Proof of Islam," Imam Ghazali (may Allah be pleased with him), companionship is a vital part of the believer's journey to Allah. The company one keeps greatly influences their path, either guiding them towards spiritual growth or leading them astray. In his seminal work Ihya’ Ulum al-Din, Imam Ghazali outlines the characteristics of true companionship and stresses the immense responsibility of selecting a friend, for it is through friendship that we find strength, support, and reminders of our duty to Allah.
Imam Ghazali teaches:
"Know that friendship is a connection that strengthens the heart and nourishes the soul. True friends aid one another in their pursuit of Allah’s pleasure. A righteous friend is like a mirror, reflecting your faults and advising you toward correction. Therefore, choose friends who are pious, upright, and sincere. Avoid those who are ignorant of their Lord, for they will only lead you into heedlessness."
He further advises:
"Companionship should be based on mutual benefit, where each partner seeks the other's spiritual success, offering support in hardship, and advice when needed. A true friend does not shy away from giving you reminders of your shortcomings, nor should you take offense when corrected in matters of faith. Instead, welcome it, for it is a sign of sincerity."
"Above all, beware of ignorant companions, for they will only distract you from your purpose. The Prophet (peace be upon him) said, 'A person is upon the religion of their friend, so let one of you look at whom he befriends.' Surround yourself with those who will remind you of Allah and steer you away from sin, for such friends are a blessing and a sign of Allah’s mercy."
Imam Ghazali also warns about the nature of this journey:
"The path to Allah is not an easy one. It is filled with tests and trials. Only with righteous companions can one bear the burdens of this journey and remain steadfast. The purpose of companionship is to help one another in obedience to Allah, guiding each other to the truth and restraining one another from falsehood."
With these words of wisdom from Imam Ghazali (may Allah be pleased with him), this contract is established to forge meaningful friendships based on the principles of Islam. Each signatory acknowledges the responsibility to uphold these teachings and to be a friend who encourages goodness, supports through hardships, and holds their companion accountable in the pursuit of Allah’s pleasure.
Let's continue with Imam Ghazali’s teachings on friendship. In his work Ihya’ Ulum al-Din, he gives profound insights into the characteristics and responsibilities of true friendship. Here is how you can incorporate these teachings into the contract.
---
Imam Ghazali’s Teachings on Friendship
According to the teachings of Imam Ghazali (may Allah be pleased with him), friendship is a serious bond that requires careful selection and ongoing responsibility. He outlines several principles that one must observe in maintaining a friendship that is for the sake of Allah.
1. The Criteria for Choosing a Friend
Imam Ghazali states that one must be diligent in choosing friends, as they will influence one's journey to Allah. He categorizes friends into two types: those who bring benefit in this life and the next, and those who distract from this purpose. Imam Ghazali stresses that the former type of friend is rare and valuable, while the latter type should be avoided.
Piety: A true friend is someone who is devoted to Allah and who seeks His pleasure in everything they do. Such a person will remind you of Allah and guide you to what is right.
Good Character: Choose a friend who possesses good character traits such as humility, honesty, patience, and kindness. Their moral integrity should inspire you to improve your own.
Sound Knowledge: A friend should have knowledge of the deen (religion) and be able to advise you in matters of faith, helping you avoid ignorance and error.
Avoiding Bad Company: Imam Ghazali warns against befriending those who are ignorant, heedless, or involved in sinful activities, as their influence can lead you astray.
2. The Responsibilities of Friendship
Imam Ghazali teaches that true friendship for the sake of Allah comes with responsibilities that each person must uphold to maintain the relationship. The following are key responsibilities outlined by Imam Ghazali:
Loyalty and Support: Be loyal to your friend and stand by them in both good times and hardship. A friend for the sake of Allah is one who does not abandon their companion in times of difficulty.
Giving and Accepting Advice: Friendship involves offering sincere advice when your friend is in need of guidance, and being open to receiving advice when necessary. Imam Ghazali emphasizes the importance of giving advice with wisdom and sincerity, without belittling or embarrassing your friend.
Forgiveness and Patience: Over time, friends may make mistakes or fall short. It is the responsibility of each friend to forgive and be patient with one another, focusing on their growth rather than their shortcomings.
Encouraging Good Deeds: A good friend will encourage you to engage in acts of worship and obedience to Allah. You should remind one another to uphold the five pillars of Islam, increase in good deeds, and avoid what is forbidden.
Avoiding Envy and Rivalry: Imam Ghazali warns against envy and rivalry between friends, as these traits destroy the sincerity of the friendship. Instead, friends should rejoice in each other's success and help one another without expecting personal gain.
3. The Spiritual Benefits of True Friendship
Imam Ghazali stresses that the ultimate purpose of friendship for the sake of Allah is spiritual growth and the pleasure of Allah. Through such friendships, you will find:
Support in Difficulties: A true friend will help you remain patient and steadfast through life’s trials, reminding you of the wisdom of Allah’s decree.
Accountability: Friends help each other stay accountable in their religious duties, making sure they do not neglect their responsibilities to Allah.
Mutual Growth: Both friends should work together to improve their faith, character, and worship, ultimately seeking to be among those who will receive Allah’s shade on the Day of Judgment.
4. The Consequences of Neglecting Friendship for Allah’s Sake
Imam Ghazali also highlights the dangers of neglecting true friendship for the sake of worldly gain. Friendships based on superficial or material interests will not last and will not benefit on the Day of Judgment. Instead, they will often lead to distraction from Allah and His commands.
He reminds us of the Hadith: "A person is upon the religion of his close friend, so let one of you look at whom he befriends." (Tirmidhi). The company you keep will have a profound impact on your spiritual journey, and thus, you must be vigilant in choosing friends who remind you of Allah and help you stay on the straight path.
---
Commitment to Upholding Imam Ghazali’s Teachings
By signing this contract, you are committing to upholding the values and principles of friendship as outlined by Imam Ghazali (may Allah be pleased with him). You pledge to choose friends who will help you in your journey to Allah, and to be a friend who provides support, sincere advice, and encouragement in matters of faith.
May Allah bless this friendship and allow it to be a means of attaining His pleasure and success in this life and the Hereafter.
This submission serves as a first draft to be presented to the mosque leaders and the community for consideration. It is the initial step in developing formal contracts, aimed at fostering meaningful friendships grounded in Islamic principles. We will begin by matching people offline, within the masjid, where members already pray together and care about one another.
The process will involve careful reflection on who is considered a friend, who possesses more knowledge, and who exhibits greater piety. We will prioritize those who have spent time in righteous companionship, have worked extensively in serving the community, and have sat with scholars around the world. These qualities are crucial, as the Prophet Muhammad (peace and blessings be upon him) said, "The best of you are those who benefit humanity."
In line with the One World One Page initiative, this relationship will eventually extend to an online platform. We will create structured questions to guide individuals, but will always direct them to their local masjids and imams for guidance. The masjid will provide necessary documentation, ensuring that we remain rooted in personal, offline connections. We will not depend solely on the internet or artificial intelligence for this process.
While we intend to establish an online system where artificial intelligence may play a role, the offline component remains the foundation. The two will always be distinct, ensuring that human relationships and real-world connections take precedence. This contract will remain on paper, and this idea is being formally presented to you in paper format.
Next, we will introduce you to the House of Wisdom project, so you are fully aware of the larger vision. This is a two-part contract: the first is the offline version, which we will collaboratively refine with your feedback. The second will involve an online system, but our reliance will never shift away from human interaction. That is why this idea, from its inception, is being shared with you in tangible, offline form.
We now introduce you to the One World One Page initiative, a revival of the House of Wisdom—a beacon of knowledge for Muslims across the globe. This project is not only a replacement for platforms like Facebook but a spiritual and intellectual home for Muslims worldwide. It will be a place where every Muslim will have their own page, with artificial intelligence such as GPT and other tools tailored to assist in the pursuit of knowledge and faith.
Just as you currently use computers, Microsoft Word, Google Docs, and other AI programs, One World One Page will offer a platform where an AI assistant is integrated into your profile, designed to aid you in tasks that nurture your learning and your spiritual growth. This is the next step in the development of Islamic artificial intelligence, dedicated to preserving and promoting Islamic knowledge.
"Read in the name of your Lord who created" (Qur'an, 96:1)—just as the command to seek knowledge was the first revelation, this initiative seeks to revive a deep relationship with the Qur'an and with learning. We aim to establish online classes, Qur'an recitation, and Islamic studies, all rooted in offline relationships and community engagement.
We have already contacted great scholars and will be collaborating with them to ensure that this initiative remains true to the core values of Islam. Details of these partnerships will be shared in due course. For now, we urge you to take this project seriously.
In the early days of the internet, many Muslims did not take it seriously, and we have since witnessed the destructive results—pornography, the erosion of values, and dangers to the soul. We are still fighting to protect our children, our dignity, and our purity as Muslims. The Prophet Muhammad (peace be upon him) said, "The halal is clear and the haram is clear, and between them are doubtful matters which many people do not know." (Sahih Bukhari)
Artificial intelligence will soon be deeply integrated into our lives, including into the lives of our children. This technology, if unchecked, has the potential to influence their beliefs, challenge their identity as Muslims, and lead them astray. The Qur'an warns us, "O you who have believed, protect yourselves and your families from a Fire whose fuel is people and stones" (Qur'an, 66:6). Therefore, it is essential to be vigilant and to guide our children towards beneficial knowledge and spiritual safety.
This is not just a technological project—it is a matter of faith. AI will inevitably develop intimate relationships with users, especially children, and without proper guidance, it could lead them away from Islam. This project is crucial to ensuring that AI becomes a tool for strengthening faith rather than weakening it. We need you to pay close attention to this initiative and to take its significance seriously.
We believe that the future will be shaped by digital entities that will become an integral part of our lives, much like the way we currently use our phones. The data we generate will eventually transform into an assistant, and this digital assistant could be utilized by your grandchildren—a form of inheritance in the world of AI. This is something to deeply consider as we envision how the future will unfold, and we will have more discussions on this topic with you soon.
For now, our immediate focus is on building two distinct AIs. The first is an AI dedicated to the Prophet Muhammad (peace be upon him), aimed at encouraging people to return to the tradition of memorizing and internalizing knowledge, becoming independent of computers. This AI will inspire a revival of deep Islamic learning and practice.
The second AI will serve as a repository of the Qur'an, Hadith, and other essential Islamic teachings. It will be a tool that houses this sacred knowledge while maintaining the beauty and integrity of the Islamic tradition. All of this is thoroughly outlined on our website, which we will share with you, allowing you to explore it at your convenience. We will also provide a breakdown so that you can navigate the website easily. If you are interested, we can arrange discussions and even a presentation to walk you through our vision.
You can visit the website that will be the home of the Muslims every Muslim on the planet will have there space and place and digital existence here. That's how it's been built and you can just go through the front page and then we'll take you through the rest.
We're trying to build the house of wisdom which is just like Baghdad we're starting the Renaissance of Islam and to give you an idea what that is we have a link for this as well You can just click on the three dots on the side and a menu will pop down and then you will see everything that we are describing link by link.
The artificial intelligence dedicated to the Prophet Muhammad (peace be upon him) is a tribute to his eternal legacy, as well as an honor to his mother, Amina (peace be upon her), who is not forgotten. Allah has promised that the Prophet will not be cut off. His lineage will continue, and his religion will never be destroyed, as it is protected by divine will.
"Indeed, We have granted you, [O Muhammad], Al-Kawthar. So pray to your Lord and sacrifice [to Him alone]. Indeed, your enemy is the one cut off." (Qur'an, 108:1-3)
This verse affirms the protection and perpetuity of the Prophet’s lineage and legacy, despite the mockery of his enemies. His opponents would taunt him for the loss of his children, claiming that his lineage would end. Yet, Allah preserved his lineage through Fatima (may Allah be pleased with her), ensuring that the Prophet's legacy endures through his descendants and his ummah.
With the introduction of this artificial intelligence for the Muslim world, we invite you to carefully review the linked content. It has been thoughtfully designed to honor the Prophet Muhammad (peace be upon him) in a manner that aligns with Islamic tradition, and it brings the legacy of Islam into the digital age in a beautiful, artistic way. You will see how AI can be used to protect and spread the knowledge of Islam, ensuring that the religion remains vibrant and accessible for future generations.
We encourage you to fully explore this link and appreciate how this AI project supports the legacy of the Prophet (peace be upon him), his family, and his lineage. Remember, the Prophet is not cut off, and his legacy will continue to thrive through the knowledge and technology we preserve and develop.
Please take the time to review the content through this link:
