The Digital Minaret — Chapter Nine: Ijazah 2.0
Ibrahim spends a week in intensive study with Sheikh Abdul-Karim and maps the five objectives of Islamic law onto DawaLink’s entire architecture. He rebuilds the platform from the inside out. And a group of young women in Tamale who use the app to learn Arabic without access to a female teacher become his most important design brief yet.
This is Chapter Nine of The Digital Minaret, a literary novel about a Ghanaian Muslim software developer building an AI-powered Islamic platform — and discovering that the hardest thing to build is himself. Read Chapters One through Eight before continuing.
The Sheikh’s house had a study.
Ibrahim had been entering it since childhood — to return a borrowed book, to call his uncle for dinner, once memorably to confess to breaking the radio — and it had always seemed to him to contain more than its physical dimensions could reasonably account for. The shelves ran floor to ceiling on three walls, in the particular arrangement of a scholar’s library, which was to say arranged not by colour or size or any aesthetic principle but by a logic that existed entirely inside the Sheikh’s mind and that Ibrahim had never been able to fully decode. Arabic volumes pressed against English translations pressed against handwritten notebooks pressed against photocopied papers held together with paper clips that had rusted in place. The desk was old enough that the wood had darkened past its original colour into something that was no longer wood exactly but the memory of wood, polished by decades of forearms and open books.
The Sheikh was at the desk when Ibrahim came in, as he was almost always at the desk in the mornings, reading with the reading glasses that lived permanently on his face in a way that made it impossible to remember what he looked like without them.
“Sit,” he said, without looking up.
Ibrahim sat in the chair across the desk — the student’s chair, worn smooth on the armrests — and waited, which was the first thing the Sheikh had ever taught him, before any fiqh or Arabic grammar or Islamic history: to wait until the moment was ready rather than filling it before it was.
The Sheikh finished whatever he was reading, marked the page with a slip of paper, and looked up.
“So,” he said. “You want to study.”
“I want to understand something,” Ibrahim said. “Something I’ve been building around without building from. The Islamic philosophy of what I’m doing. Not the content — Fatima handles the content, the scholar panel handles the rulings. The deeper question. Whether the architecture itself — the decisions about how the platform works, how data flows, how users are treated, how knowledge is structured — whether any of that has an Islamic framework I should be working from, and whether I’ve been working from it or just working around it.”
The Sheikh looked at him for a long moment.
“How much time do you have?” he said.
“A week,” Ibrahim said. “I told Kofi a week.”
“A week,” the Sheikh repeated, in the tone of a man who has spent forty years studying and regards a week with appropriate perspective. “Then we won’t solve everything. But we can find the right questions.” He stood, moved to a section of the shelf that Ibrahim would not have been able to locate without the Sheikh’s navigation, and pulled out a book — Arabic, old, its cover rubbed soft. He set it on the desk between them. “Have you studied maqasid al-Shariah?”
“The objectives of Islamic law. The five.” Ibrahim paused. “At university, briefly. Preservation of religion, life, intellect, lineage, and property.”
“Good. That’s the map. This week we’re going to find out what your platform looks like when you hold it against that map.” He opened the book. “The question is not whether your technology is Islamic. Technology has no religion. The question is whether the choices you make in building it are aligned with what Allah has told us human beings actually need.” He looked at Ibrahim over his glasses. “Which turns out to be a very practical question with very specific answers.”
They began with hifz al-din — the preservation of religion.
This, the Sheikh explained, was the most fundamental of the five objectives and the one most obviously relevant to what Ibrahim was building. But its relevance was more complex than it first appeared.
“Preserving religion does not mean preserving religious practice in a narrow sense,” the Sheikh said, on the first morning, tea between them, the study’s morning light falling on the open book. “It means preserving the conditions under which a person can fulfil their obligations to Allah without obstruction. Access to knowledge. Access to community. Access to correct guidance, free from distortion.” He looked at Ibrahim. “What does your platform do for hifz al-din?”
Ibrahim thought carefully. “It connects users to verified Islamic knowledge. The scholar panel ensures content is accurate. The mosque directory removes the barrier of not knowing where to pray when you’re away from home. The halaqah circles give people community they might not have in a new city.”
“Good. What does it do against hifz al-din?”
Ibrahim was quiet.
“The chatbot,” he said, after a moment. “Before Fatima corrected the architecture. It was issuing rulings without acknowledging scholarly disagreement. That distorts the deen.”
“What else?”
Ibrahim thought about Yusuf. About the community board before they had tightened the content standards. About the way recommendation systems, even well-intentioned ones, could create filter bubbles that gave a user one school of thought’s version of Islam without telling them other valid schools existed.
“If the algorithm surfaces one type of Islamic content more than another — based on engagement metrics rather than scholarly validity — it shapes what people understand the deen to be,” Ibrahim said slowly. “It could, without intending to, narrow the deen down to whatever performs best on the platform. That’s a form of distortion even if every individual piece of content is technically correct.”
The Sheikh nodded. “The deen is not a content vertical,” he said. “It is a living tradition with depth and disagreement and centuries of legitimate variation. A platform that flattens that into what engages best is not preserving religion. It is curating a version of religion that serves the platform’s mechanics.” He paused. “How do you fix this?”
“Transparent algorithms,” Ibrahim said, thinking aloud now rather than answering from preparation. “The user should be able to see why something is being recommended to them. Scholar diversity tracking — ensure the content panel represents multiple madhabs. And a principle: when content is recommended, engagement is never the only criterion. Scholarly validity and source diversity are weighted in.”
The Sheikh looked at him steadily. “Write that down,” he said. “Exactly as you said it. That’s your first design principle.”
Ibrahim wrote it down.
Hifz al-nafs — the preservation of life — led to the conversation Ibrahim had not expected.
“Life,” the Sheikh said, on the second morning. “How does a digital platform affect life?”
“It seems less directly relevant,” Ibrahim said carefully. “DawaLink isn’t a medical platform. We don’t make decisions that directly affect physical safety.”
“Doesn’t it?” The Sheikh picked up his tea. “You have fifty thousand users who share their location with you. Some of them are in communities where being identifiably Muslim creates risk. You have users in parts of the country where religious tension exists. You have users who have joined community circles and shared private information about their lives, their families, their circumstances.”
Ibrahim felt something shift in his understanding of the breach — not the fact of it, which he had processed exhaustively, but the dimension of it he had perhaps not fully articulated even to himself. The Kumasi user whose addiction support group had been exposed. Not just a privacy violation. A safety violation. The exposure of something that could, in the wrong hands, cause real harm to a real person’s real life.
“The data practices are not only an ethics question,” Ibrahim said. “They’re a life preservation question.”
“Everything is connected,” the Sheikh said simply. “The maqasid are not five separate rooms. They are five dimensions of one house. A decision you think is only about property turns out to also be about intellect. A decision about religion turns out to also be about life.” He set his tea down. “What does hifz al-nafs require from DawaLink?”
Ibrahim wrote as he thought. Privacy by default, not privacy as a setting a user had to find and activate. Location data never stored beyond immediate use. Community groups encrypted at the level Amina had implemented after the breach, but built that way from the beginning rather than added afterward. A safety flag in the scholar moderation system for any content that could put users at physical risk.
“And the algorithm,” Ibrahim added. “No content that creates division between Muslims at a level that could escalate beyond argument. The content moderation Fatima has built is about Islamic validity. It also needs a layer about communal safety.”
The Sheikh nodded. “Write that down.”
Hifz al-aql — the preservation of intellect — was the conversation that lasted longest, running from the third morning into the afternoon and resuming the following day without the Sheikh suggesting a break, because it was clearly the one he had been waiting for.
“The preservation of intellect,” the Sheikh said, “is the objective most directly threatened by the technology you are building. Not because technology is anti-intellectual. Because the specific mechanics of digital platforms — the engagement loop, the notification, the infinite scroll, the recommendation engine — are, if left unchecked, mechanisms for the systematic destruction of the capacity to think.”
Ibrahim looked at him.
“That is a strong claim,” he said.
“It is a precise claim,” the Sheikh said, without apology. “The aql is the faculty Allah gave us to distinguish truth from falsehood, to reflect, to understand, to grow in knowledge. The Prophet, peace be upon him, said: seeking knowledge is an obligation on every Muslim. Not consuming content. Not being stimulated. Seeking, actively, with effort and intention, knowledge that changes how you understand the world.” He paused. “A platform designed to maximise the time a user spends on it, using psychological mechanisms that exploit the reward centres of the brain, is not supporting the aql. It is hijacking it. It is replacing the effort of seeking with the passivity of receiving, and rewarding the passivity so efficiently that the effort begins to feel unnecessary.”
The room was quiet.
“DawaLink has notification systems,” Ibrahim said.
“Yes.”
“And a streak mechanic in the Quran tracker. If you read every day, you maintain your streak. If you miss a day, it resets.”
“What does a streak mechanic do to a person’s relationship with reading Quran?” the Sheikh asked.
Ibrahim thought about this honestly. “It might incentivise consistency,” he said. “Or it might replace the intrinsic motivation — the love of the Quran, the desire to be close to Allah — with an extrinsic one. Reading not because you want to but because you don’t want to lose your streak.” He paused. “Which might be fine at first. But if the extrinsic motivation crowds out the intrinsic one over time — “
“You have built a person who reads Quran for their streak,” the Sheikh said. “Not for Allah.”
The silence that followed was the kind that required sitting in rather than resolving.
“I’m not saying remove the tracker,” the Sheikh said, after the silence had done its work. “I’m saying the tracker needs a philosophy behind it that the designer is conscious of. The notification that says ‘you’ve missed your Quran today’ is not the same as the notification that says ‘when was the last time you sat with the Quran without any intention except to be near it?’ They are different invitations to different relationships.” He looked at Ibrahim. “Which one are you building?”
Ibrahim wrote for a long time.
When he looked up, the Sheikh was reading again, apparently content to let the writing take whatever time it needed.
Design principle three, Ibrahim had written at the top of the page. The platform must protect the user’s aql, not exploit it. Every engagement mechanism must be examined: does this deepen the user’s relationship with their deen, or does it substitute for it? Notifications that invite. Streaks that acknowledge rather than punish. Time limits that the platform itself suggests. No infinite scroll. No autoplay. The platform should know when to stop.
Hifz al-nasl — the preservation of lineage and family — arrived on the fourth morning with a question Ibrahim had not anticipated.
“Family,” the Sheikh said. “Lineage. What does this have to do with a technology platform?”
“Community,” Ibrahim said. “Families are the core unit of community. Preserving family bonds, facilitating communication between Muslim families across distance, helping parents guide their children’s Islamic education — “
“And what breaks families apart?” the Sheikh asked.
Ibrahim paused.
“Devices in the room,” he said slowly. “The phone at the dinner table. The child who learns their deen from a screen instead of from their parents. The parent who has outsourced their child’s Islamic education to an app because the app is easier than the conversation.” He looked at the notes in front of him. “DawaLink could make this worse, not better. If a parent can say ‘use the app’ instead of sitting with their child and reading Quran together, the app has weakened the family bond it was supposed to serve.”
“How do you fix this?”
Ibrahim thought for a long time. “Family features,” he said. “Not just individual user accounts. Family circles — a parent and their children on the same account, with tools that facilitate joint learning rather than individual consumption. Quran reading sessions that two people do together on the platform, not separately. A feature that specifically encourages offline activity — ‘this week’s halaqah topic: discuss with your family.’ The platform pointing toward the conversation instead of replacing it.”
The Sheikh nodded slowly. “There was a woman here,” he said. “Last month. She came to me with a concern about her daughter. The daughter had become — very confident about Islamic rulings. Very certain. She would correct her mother at the dinner table.” He paused. “Where was she learning these rulings? From a channel on the internet. A man she had never met, in a city she had never visited, whose chain of learning she could not trace.” He looked at Ibrahim. “The technology had given her certainty without the character that should accompany certainty. Knowledge without adab. That is a family problem with a technology dimension.”
Ibrahim wrote: The platform must build users who go home and talk to their families, not users who go home and correct them.
Hifz al-mal — the preservation of property — was the briefest of the five conversations and the one the Sheikh dispatched most cleanly.
Get Nungeorge’s stories in your inbox
Join Medium for free to get updates from this writer.
“Halal revenue,” he said. “You know this already.”
“We’ve refused data sales. We’ve refused investors whose conditions would have compromised the platform. We run on user subscriptions and voluntary waqf contributions.”
“Good. What about the users’ wealth?”
Ibrahim looked at him. “The Zakat calculator — “
“Is it accurate?”
“Fatima revised it four times.”
“Good. What else?”
Ibrahim thought. “The platform shouldn’t promote excessive spending. No sponsored content pushing products at users on the basis of their religious data. No financial services advertising targeted at Muslim users’ life events.” He paused. “And the scholar panel should include someone with expertise in Islamic finance — for the community board questions about mortgages, insurance, business dealings. These come up regularly and they matter.”
“Write that down,” the Sheikh said.
Ibrahim wrote.
On the sixth morning, the Sheikh did not speak immediately when Ibrahim arrived. He was at the desk with something in his hand — a small piece of paper, folded once — and he held it for a while before setting it on the desk between them.
“I want to give you something,” he said. “Not a ruling. Not a framework. Something older than both.”
He pushed the paper across the desk.
Ibrahim unfolded it. The Sheikh had written, in careful Arabic script, three words.
اقْرَأْ بِاسْمِ رَبِّكَ
Iqra. Bismi rabbik.
Read. In the name of your Lord.
“Surah Al-Alaq,” Ibrahim said. “The first revelation.”
“The first command,” the Sheikh said. “Not to pray. Not to fast. Not to fight. Not to build.” He looked at Ibrahim steadily. “To read. To receive knowledge. To begin from a position of learning rather than a position of action.” He paused. “You are a builder. You will always be a builder. That is how Allah made you and it is not wrong. But every builder must remember that the first command was not to build. It was to read.” He folded his hands on the desk. “Iqra. Read. Learn. Build. In that order. Always in that order.”
Ibrahim held the paper.
“Keep it,” the Sheikh said. “Put it where you see it when you work.”
He left the Sheikh’s house on the seventh morning with a notebook that was full and a phone that had barely been used and the particular quality of clarity that comes not from having answered all the questions but from having found the right ones — which is a different and, in some ways, more useful thing.
He walked through Tamale for an hour before going back to his mother’s compound, through the streets he had grown up in, through the market where the morning’s business was already in full motion, past the mosque where he and Yusuf had prayed Isha together the week before. The city was alive around him the way Tamale was alive — not in Accra’s relentless mode but in a more deliberate rhythm, as though the people in it had made a collective decision about what pace of life they were willing to sustain.
He stopped, near the edge of the market, because he heard something.
Girls’ voices. Young — twelve, thirteen perhaps, no older. They were sitting in the shade of a building on the market’s far side, perhaps six of them, gathered in a circle with phones held between them, and they were repeating something in Arabic, carefully and slightly haltingly, one voice then all voices, the call and response of a learning exercise.
He stood and listened for a moment, not wanting to interrupt but too struck by what he was seeing to simply walk past.
One of the girls — the oldest, perhaps, or simply the most confident — was leading the session from what appeared to be a language learning app on her phone. Not DawaLink. Something else. And the others were following her, and the Arabic was imperfect and the pronunciation was developing and the session had the slightly chaotic quality of children learning anything, but beneath it there was something serious and committed, the way children are serious about things the adults around them have not yet dismissed as too hard.
He approached carefully. The leading girl looked up.
“Sorry,” Ibrahim said, in Dagbani. “I don’t want to interrupt. Can I ask — are you learning Arabic?”
The girl looked at him with the frank assessment of someone who has learned to decide quickly whether adults are worth engaging with. “Yes,” she said.
“From the app?”
“There’s no teacher here. Not for girls. The mallam at the mosque teaches the boys, but he doesn’t have a women’s class. My mother said try the app.” She held it up — a Gulf-produced Arabic language app, generic and not contextualised, with a cartoon mascot that had nothing to do with West Africa. “It’s okay. But it doesn’t know Dagbani. And the examples are all about desert places and camels.”
Ibrahim looked at her phone, then at the circle of girls, then at his notebook.
“What’s your name?” he said.
“Maryam.”
“Maryam. I build apps. Islamic apps, for Ghanaian Muslims. Would you and your friends be willing to talk to me for thirty minutes about what you need that this app isn’t giving you?”
Maryam looked at him with the expression of someone recalibrating her initial assessment. She looked at her group. Several of them shrugged in the way that means yes but they want someone else to say it first.
“Fine,” Maryam said. “But we’re not stopping the session. You can listen while we learn.”
He sat on the ground beside the building and listened for forty-five minutes.
The session was not what he would have designed. It was better than what he would have designed, because it was what six girls in Tamale had built themselves from available materials and genuine need: a peer learning circle using an inadequate tool because it was the best available tool, led by the most confident among them because there was no adult authority to lead, conducted in a mixture of Arabic and Dagbani because the app knew only one of those languages and the learners required both.
He took notes on everything.
The things the app could not give them, that he wrote down in a separate column:
A teacher who looks like them. Examples from their context — not camels, dates, desert. Dagbani transliteration. A community of girls their age doing the same thing. Progress they could show their parents, who also did not speak Arabic, in a form their parents could understand and celebrate. A female scholar whose voice they could hear — not just male voices.
And — the one that Maryam said last, almost as an afterthought, as though she had been deciding throughout the session whether to mention it:
“An explanation of why. Why we’re learning this. Not just the words. What the words mean, what the prayer means, why Allah chose Arabic. I don’t understand why I’m learning it and it makes it harder.”
Ibrahim looked at what he had written.
He had been building DawaLink for over a year. He had built it for the ummah, he had said this repeatedly, in pitches and team meetings and late-night notes to himself. He had built it for the fifty-two thousand people on the dashboard. He had built it in response to the problem as he had understood it from Accra.
He had not, until this afternoon, sat on the ground in Tamale and listened to six girls learn Arabic from a cartoon mascot because there was no female teacher in their community and no app that knew their language.
This, he wrote at the bottom of the page, underlining it twice. This is who you are building for. Not the dashboard number. Maryam. Build it so Maryam has what she needs.
He was back in his mother’s compound by early evening, and he sat in the courtyard with his notebook open and his phone face-down and the Tamale evening settling around him, and he began to draw.
Not code. Not a product spec. A picture, roughly, of what DawaLink needed to become — not rebuilt from scratch, because much of what they had built was right and did not need replacing, but rebuilt in its foundations, the way you rebuild a house when the structure is sound but the floors are wrong.
The five maqasid as the architectural pillars. Not decorative — structural. Every feature evaluated against them before it shipped. Privacy by default, because life requires protection. Algorithm transparency, because intellect requires honesty. Family features, because lineage requires togetherness. Halal revenue only, because property requires integrity. Scholar diversity and depth, because religion requires the full tradition.
And a new design brief, sitting at the top of the document in the space where niyyah had always been, beside the note from the Sheikh on the small piece of paper he had set flat on the compound wall where he could see it:
Iqra. Read. Learn. Build. In that order.
Below it, his own addition:
Build it for Maryam.
He called Fatima just after Maghrib. She picked up on the second ring.
“I need to tell you about a week,” he said. “And about six girls sitting in a circle in the Tamale market, learning Arabic from a cartoon mascot, because no one built the thing they actually needed.”
There was a pause.
“Tell me,” she said.
He told her. She listened the way she always listened — entirely, without the small affirmatory sounds people made when they were listening partially — and when he finished, she was quiet for long enough that he checked the line was still connected.
“The female scholar voice feature,” she said finally. “I’ve been trying to get that prioritised for four months. Imam Yusuf agrees it’s important but there’s always been something more urgent.”
“It’s the most urgent thing we’re not building,” Ibrahim said.
“I know,” she said. And then, in a different register, quieter: “Are you coming back soon?”
“Day after tomorrow,” he said. “I need one more day here.”
Another pause, shorter this time. “Good,” she said. “We need you back.”
He looked at the note on the wall — the Sheikh’s careful Arabic script, three words in the hand of a man who had spent forty years learning before he taught. He thought about Al-Ghazali walking away from Baghdad. About the old mallam who remembered. About Maryam explaining to him, without knowing she was explaining anything, what it meant to need something and build a workaround because the real thing did not exist yet.
“I’m coming back,” he said. “I know what I’m building.”
Follow for Chapter Ten — Beta Testing the Self — where Ibrahim returns to Accra with the maqasid framework and rebuilds DawaLink 2.0 from the foundation up. Shura becomes the leadership model. The female scholar network launches. And Ibrahim approaches Fatima’s father through the proper Islamic channels — because some things are worth building correctly the first time.







