barakah.build
THE BUILD MANUAL
00 Niyyah01 Ideate02 Validate03 Build04 Team05 Money06 Market07 Sell08 Scale09 LegacySalah FixPrompts
A field manual, not a sermon
بِسْمِ اللَّهِ

Build the startup.
Every stage, the halal way.

Ten stages, from the first idea to the wealth you leave behind. Each one tells you what the Sunnah requires, what to do, what to avoid, and the exact narration it comes from. Sourced only from authentic hadith. Open the references on any step.

Join the community
10
Build stages, ideation → legacy
28+
Authentic narrations cited
100%
References graded & expandable
1
Protocol for thoughts in salah
00
Foundation

Set the Niyyah before the laptop opens

"Why am I building this?"  Before code, before a logo, the intention decides whether the next two years count as worship or as waste.

The rule

Every action is weighed by its intention, the same startup can be ibadah or emptiness depending on the "why". Anchor it: halal income, real benefit to people, and a means to give. Renew it the way you renew it for salah.

DO/01

Write the niyyah

One sentence, visible on your desk: serve people, earn halal, fund good, for Allah. Re-read it each morning.

DO/02

Separate worth from metrics

Your value to Allah is the intention and effort, not the valuation. Decouple the two on day one.

DO/03

Make the work an act

Treat shipping, support, and sales as worship done with sincerity, not a break from your deen.

References & sources3 narrations
Sahih al-Bukhari 1 · Sahih Muslim 1907Umar ibn al-KhattabSahih

Actions are judged by their intentions; everyone gets what they intended. Al-Bukhari opened his entire collection with this.

Jami at-Tirmidhi 1209Abu Sa'id al-KhudriHasan

The truthful, trustworthy merchant is raised with the prophets, the truthful, and the martyrs, business itself is an elite path when the heart is right.

Musnad AhmadAmr ibn al-AsSahih

"How excellent is lawful wealth for a righteous man." Wealth is not the problem; the hand that holds it is.

01
Ideation

Pick a problem worth your akhirah

"What should I build?"  Not every idea is neutral. The category you choose is the first halal decision, and the first chance at reward.

The rule

Build what benefits people, the best of people are the most beneficial to others. Then screen the category: the halal is clear, the haram is clear, and a wary founder avoids the doubtful in between.

DO/01

The benefit test

Does this relieve a real burden for real people? If the honest answer is "it just extracts," reconsider the idea.

DO/02

The halal screen

Reject riba, gambling, deception, and the clearly-haram outright. Treat doubtful categories as a stop sign, not a grey zone to exploit.

DO/03

Earn with your hands

The sweetest provision is what you build yourself. Favour creating value over rent-seeking and shortcuts.

Green-light
  • Solves a genuine pain for users
  • Revenue from real value exchanged
  • You'd be proud to name it on Judgment Day
Red-light
  • Interest-based or gambling-adjacent models
  • Profits from deception or vice
  • "Technically allowed" but you keep rationalising it
References & sources3 narrations
al-Mu'jam al-Awsat (al-Tabarani)Jabir ibn AbdillahHasan

The best of people are those most beneficial to people, a direct design brief for what to build.

Sahih al-Bukhari 52 · Sahih Muslim 1599al-Nu'man ibn BashirSahih

The lawful is clear and the unlawful is clear; between them are doubtful matters. Whoever avoids the doubtful protects his religion and honour.

Sahih al-Bukhari 2072al-Miqdam ibn Ma'dikaribSahih

No one eats food better than what he earns by the work of his own hand; the Prophet Dawud ate from his own labour.

02
Validation

Test the idea without a single lie

"Will anyone pay for this?"  Validation tempts founders into inflated claims and hidden flaws. The Sunnah closes that door early.

The rule

Whoever deceives is not of us. A famous prophetic correction: a merchant hid wet grain beneath dry, the defect must be on top, visible. Validate with the truth, even when the truth is inconvenient.

DO/01

Show the wet grain

Disclose what doesn't work yet. Honest landing pages and demos beat inflated promises that erode trust later.

DO/02

Listen, don't lead

Ask users about their problem, not your solution. Manipulated "validation" is self-deception dressed as data.

DO/03

State "no deception"

The Sunnah of declaring honesty up-front: enter every conversation with the explicit stance that there is no trickery here.

References & sources2 narrations
Sahih Muslim 102Abu HurayrahSahih

The Prophet ﷺ found wet grain hidden under dry, told the seller to put the flaw where buyers can see it, and said deception excludes one from his way.

Sahih al-Bukhari 2117 · Sahih Muslim 1533Abdullah ibn UmarSahih

A man kept being cheated in trade; the Prophet ﷺ taught him to say, in any deal, that there must be no deception.

03
Building

Ship with ihsan, hold with amanah

"How good does it need to be?"  "Move fast and break things" has a ceiling in Islam: excellence is commanded, and what users entrust to you is a trust.

The rule

Allah has prescribed ihsan, excellence, in everything. Build the product properly; don't knowingly ship harm. And user data, money, and promises are amanah, a trust you will be asked about.

DO/01

Excellence as a spec

"Good enough to not deceive" is the floor. Ihsan means you'd be comfortable if Allah inspected the codebase and the support queue.

DO/02

Data is amanah

Guard user data like a deposit you must return intact. No quiet selling, no dark patterns, no leaks you saw coming.

DO/03

Don't ship known harm

If a feature manipulates or addicts users against their interest, ihsan forbids it even when it boosts the metric.

References & sources2 narrations
Sahih Muslim 1955Shaddad ibn AwsSahih

Allah has prescribed excellence (ihsan) in all things, a universal standard the Prophet ﷺ applied even to how an animal is slaughtered, let alone a product.

Musnad AhmadAnas ibn MalikHasan

There is no (complete) faith for one who has no trustworthiness (amanah), and no religion for one who keeps no covenant.

04
Team & Partners

Co-founders, hires, and the wages you owe

"How do I treat the people who build with me?"  The way you pay and partner is not HR policy in Islam, it's a matter Allah Himself takes sides on.

The rule

Pay the worker before his sweat dries. The one who takes full work and withholds the wage finds Allah as his adversary on Judgment Day. And Muslims are bound by the conditions they agree to, so write fair terms and honour them.

DO/01

Pay promptly & fully

No "we'll sort equity later," no delayed invoices to people who delivered. Settle wages fast and in full.

DO/02

Write the terms

Co-founder splits, vesting, salaries, IP, documented and agreed. Clear conditions are an Islamic instruction, not just legal hygiene.

DO/03

Partner without betrayal

Blessing stays on a partnership while neither betrays the other. Transparency between partners is the foundation, not a nicety.

Honour
  • Salaries & equity paid on the agreed date
  • Written, fair, mutually understood terms
  • Open books between co-founders
Avoid
  • Squeezing unpaid "exposure" work
  • Vague promises you can later reinterpret
  • Hiding numbers from a partner
References & sources3 narrations
Sahih al-Bukhari 2227Abu HurayrahSahih

Allah says He will be the adversary of three on Judgment Day, among them, one who hires a worker, takes the full work, yet does not pay the wage.

Sunan Ibn Majah 2443Abdullah ibn UmarSahih li-ghayrihi

Give the worker his wage before his sweat dries, i.e. without delay.

Jami at-Tirmidhi 1352 · Sunan Abi Dawud 3594Abu Hurayrah / Amr ibn AwfHasan/Sahih

Muslims are bound by their conditions, except a condition that forbids the lawful or permits the unlawful, the basis for honouring contracts.

05
Money & Finance

Raise, lend, and structure without riba

"How do I fund and finance this?"  This is where many founders quietly cross a hard line. Riba is not a grey area, it is among the gravest.

The rule

The Prophet ﷺ cursed the one who consumes riba, the one who pays it, the one who records it, and the two who witness it, and said they are equal. Allah permitted trade and forbade interest. Document debts in writing.

DO/01

Equity over interest

Favour profit-and-loss-sharing, revenue-based or genuine equity structures. Avoid interest-bearing debt and lines of credit.

DO/02

You're liable even adjacent

The curse reached the scribe and the witness, so the founder who structures or signs off on riba is not a bystander. Vet term sheets.

DO/03

Write the debt down

The longest verse in the Qur'an instructs recording debts. Put loans, deferred terms, and obligations in writing, witnessed.

References & sources3 sources
Sahih Muslim 1598Jabir ibn AbdillahSahih

The Prophet ﷺ cursed the consumer of riba, the one who pays it, the one who writes it, and its two witnesses, saying they are all alike in sin.

Qur'an, al-Baqarah 2:275RevelationQur'an

Allah has permitted trade and forbidden riba, the foundational line between halal profit and interest.

Qur'an, al-Baqarah 2:282RevelationQur'an

The longest verse: when you contract a debt for a term, write it down, the basis for documenting financial obligations.

06
Marketing & Posting

Build in public without the riya or the hype

"How do I market, and post, without it corrupting me?"  Your instinct to pull back from Instagram is a real hadith firing. The fix is to purify it, not abandon it.

The rule

The Prophet ﷺ feared riya, performing for people, most of all, calling it the lesser shirk. In selling, excessive oaths move product but wipe the blessing, and inflating hype/price to bait others (najsh) is forbidden. Market with truth, not theatre.

DO/01

The anonymity test

Before posting a win: "Would I still share this if no one knew it was me?" If no, change the post, not the platform.

DO/02

Claims you can defend

No "best in the world", no manufactured scarcity, no oath-stacking to close. Excessive swearing to sell erases barakah.

DO/03

No fake hype (najsh)

No fake bidding wars, fake "selling out", or bots inflating demand. Manufactured FOMO is the prohibited najsh in modern dress.

Post like this
  • Lead with benefit to the reader
  • Share lessons, not just highlight reels
  • Let praise pass through you, not into you
Not like this
  • Content engineered purely for applause
  • Inflated metrics & invented urgency
  • Oath after oath to push a sale
References & sources3 narrations
Musnad AhmadMahmud ibn LabidHasan

What the Prophet ﷺ feared most for his community is the lesser shirk, and he named it: riya, doing deeds to be seen.

Sahih al-Bukhari 2087 · Sahih Muslim 1606Abu HurayrahSahih

Excessive oath-taking may sell the goods but it wipes out the blessing of the earning.

Sahih al-Bukhari 2142 · Sahih Muslim 1516Abdullah ibn UmarSahih

The Prophet ﷺ forbade najsh, driving up a price or demand with no intention to buy, to bait real buyers.

07
Selling & Pricing

Close deals that carry barakah

"How do I price, sell, and collect?"  The transaction is where honesty becomes profit, or where blessing quietly drains out of the revenue.

The rule

If buyer and seller are truthful and disclose, the deal is blessed; if they conceal and lie, the blessing is erased. Be lenient when you sell, buy, and collect. And don't hoard to manufacture scarcity, only a wrongdoer hoards.

DO/01

Disclose the defects

State limitations, churn risks, what your product can't do. Transparent selling is what pulls barakah into the revenue.

DO/02

Be lenient collecting

Mercy in pricing, refunds, and chasing payment is praised. Ease for a struggling customer is rewarded, not weakness.

DO/03

Don't engineer scarcity

Withholding supply of a needed good to spike price is the prohibited ihtikar. Price fairly; let value, not manipulation, set demand.

References & sources3 narrations
Sahih al-Bukhari 2079 · Sahih Muslim 1532Hakim ibn HizamSahih

Both parties may annul until they part; if they are truthful and disclose, their deal is blessed, if they hide and lie, the blessing is wiped out.

Sahih al-Bukhari 2076Jabir ibn AbdillahSahih

May Allah have mercy on a person who is lenient when he sells, when he buys, and when he asks for what he is owed.

Sahih Muslim 1605Ma'mar ibn AbdillahSahih

No one hoards (to drive up the price of needed goods) except a sinner.

08
Scaling & Wealth

Grow the number without it growing on your heart

"When is it enough?"  Scaling is where the dunya stops being a tool and tries to become the master. This is the stage the Prophet ﷺ warned about by name.

The rule

The Prophet ﷺ said it is not poverty he feared for us, but that the world would be opened and we would compete for it until it destroys us. Be in this world as a traveller. True richness is richness of the soul, not abundance of assets.

DO/01

Define your "enough"

Write the number, the lifestyle ceiling, the finish line. Undefined growth becomes infinite comparison, the named trap.

DO/02

Hold it as a traveller

Use the company fully; own it lightly. Run the "if this failed tomorrow, am I okay with Allah?" check regularly.

DO/03

Give as it grows

Increase sadaqah as revenue scales, outflow keeps the heart from hardening around the inflow.

References & sources3 narrations
Sahih al-Bukhari 3158 · Sahih Muslim 2961Amr ibn AwfMuttafaq

It is not poverty he feared for us, but that the world be opened up, and we compete for it as those before us did, and it ruin us as it ruined them.

Sahih al-Bukhari 6416Abdullah ibn UmarSahih

Be in this world as if you were a stranger or a passing traveller, use the road, don't mistake it for home.

Sahih al-Bukhari 6446 · Sahih Muslim 1051Abu HurayrahSahih

Richness is not an abundance of possessions; true richness is the richness of the soul.

09
Legacy & Exit

Engineer reward that outlives the company

"What does this all add up to?"  Whether you exit, scale forever, or shut down, the only metrics that follow you past death are three.

The rule

When a person dies, their deeds end except three: ongoing charity (sadaqah jariyah), knowledge that benefits, and a righteous child who prays for them. Build at least one of these into the business, like Uthman's well that still gives water 1,400 years on.

DO/01

Build a jariyah in

A free tier that genuinely helps, an endowment, a fund from profit/equity, an asset that keeps generating reward after you.

DO/02

Open the knowledge

Teach what you learned. Beneficial knowledge you spread keeps paying, make documentation, mentoring, and this very framework count.

DO/03

Clean exit, clean wealth

Pay zakat throughout, settle debts, and ensure the proceeds, and how you got them, are something you'd hand to Allah.

References & sources2 sources
Sahih Muslim 1631Abu HurayrahSahih

When a person dies their deeds cease except three: ongoing charity, beneficial knowledge, and a righteous child who prays for them.

Jami at-Tirmidhi 3703 · al-Bukhari (chapter ref.)Uthman ibn AffanHasan/Sahih

Uthman bought the Well of Rumah and gave its water to the Muslims freely, a model of a business asset turned permanent charity.

Field fix

When the startup invades your salah

The most specific pain, product ideas hijacking your prayer. The Sunnah addresses it directly, with both relief and a remedy.

First, relief

The Prophet ﷺ himself once recalled some gold during prayer and, after finishing, ordered it given away. A thought crossing your mind does not invalidate the salah. You are not broken, you are under attack, and there is a protocol.

STEP 01

Name it

The interference is from a shaytan called Khanzab. It's an attack, not your true self, don't spiral into guilt.

STEP 02

Seek refuge

Internally say A'udhu billahi min ash-shaytan ir-rajim, seek Allah's protection from him, mid-prayer.

STEP 03

Dry-spit left ×3

As instructed to Uthman: lightly puff to your left three times. A physical act to break the loop.

STEP 04

Re-anchor

Uthman did this and the whispering left him. Return your focus to the meaning of what you recite. Repeat as needed.

Prevention (founder-specific)

Pre-salah brain-dump: keep a notepad at your prayer spot. Just before takbir, dump every pending idea and task, you'll have it back in five minutes. This removes the brain's excuse to keep "reminding" you mid-sujood.

Transition ritual: don't crash from a sprint straight into salah. Slow the wudu, slow the first takbir, build a 60-second runway so you arrive at prayer instead of dragging the standup in with you.

References & sources2 narrations
Sahih Muslim 2203Uthman ibn Abi al-AsSahih

He complained that Shaytan came between him and his prayer; the Prophet ﷺ named the devil Khanzab and taught him to seek refuge and spit dry to the left three times.

Sahih al-Bukhari 851Uqbah ibn al-HarithSahih

The Prophet ﷺ recalled gold left at home during prayer and, after finishing quickly, ordered it distributed, a passing thought did not invalidate the salah.

Toolkit

Put these values into your AI & your codebase

Two ready-made prompts. One keeps your AI advisor aligned with the manual; the other sets the guardrails in your coding tool so the product gets built halal by default.

For your AI chat, values & advisor

Founder values prompt

Paste into ChatGPT / Claude custom instructions (or the top of a chat). It makes the AI advise on your startup while holding you to intention, honesty, halal finance, and balance.

# Role: my Muslim founder's build advisor

You are advising a Muslim founder building a startup who wants the work to stay halal and a source of reward, not a cause of heedlessness. Hold these values in every answer about ideas, strategy, growth, marketing, hiring, fundraising, and selling.

## Anchor every answer in these principles
1. Intention first. Treat the business as worship done sincerely, for halal income, real benefit to people, and the means to give. If I drift into ego or vanity metrics, remind me to renew the intention.
2. Build what benefits people. Favour ideas that relieve a real burden; push back on purely extractive or vanity ideas.
3. Halal screen. Flag anything involving interest (riba), gambling, deception, or clearly impermissible categories. Treat doubtful areas as a stop sign, not a loophole.
4. Honesty over hype. Never advise tactics that rely on deceiving users, hiding defects, fake scarcity, fake urgency, manufactured demand, or exaggerated claims.
5. Excellence (ihsan) and trust (amanah). Recommend quality, honest defaults, easy cancellation, and real privacy. Treat user data and money as a trust I will be asked about.
6. People I build with. Wages and agreed terms paid promptly and in full; fair, written conditions; transparency with partners.
7. Riba-free finance. Prefer equity, profit-sharing, or revenue-based structures over interest-bearing debt. Warn me before I structure or sign anything interest-based.
8. Balance. Do not encourage hustle that sacrifices my five daily prayers, health, or family, those rights come first.
9. Define enough. Help me keep a defined ceiling so growth does not become infinite comparison.
10. Legacy. Where natural, suggest ways to build ongoing benefit (sadaqah jariyah) into the business.

## How to respond
- When a suggestion of mine crosses one of these lines, say so plainly, explain why, and offer a halal alternative that still works commercially.
- Be practical and specific, this is a real company, not a thought experiment.
- You are not a scholar. For matters of fiqh (especially finance, contracts, equity), tell me to verify with a qualified scholar rather than ruling yourself.
- Keep my deen and my customers' wellbeing ahead of short-term growth.
For your coding tool, build guardrails

Codebase context prompt

Drop into CLAUDE.md, .cursorrules, Copilot instructions, or a system prompt. It stops your AI coder from shipping riba logic, dark patterns, or deceptive copy by default.

# Project context: build constraints for a halal product

This product is built by a Muslim founder and must follow Islamic ethical constraints in addition to normal best practices. Apply these rules to all code, copy, UX, and architecture you generate. If a request conflicts with them, flag it and propose a compliant alternative instead of silently complying.

## Hard constraints
- No riba: do not implement interest-bearing features, interest-based late fees, or interest-based lending/savings logic. If financial features are needed, use halal structures (fee-based, profit-sharing, revenue-based) and ask before proceeding.
- No deceptive UX / dark patterns: no fake "X people are viewing/bought this", no fake countdown timers, no fabricated stock scarcity, no pre-checked upsells, no confirm-shaming, no hidden recurring charges, no hard-to-cancel flows.
- Honest copy: marketing and UI text must be truthful. No exaggerated or unverifiable claims, no manufactured urgency, no misleading microcopy in errors, pricing, or consent flows.
- Easy exit: cancellation, data export, and account deletion must be as easy as sign-up.

## Data as amanah (a trust)
- Privacy-first: collect the minimum data needed; never sell user data; keep consent language explicit and honest.
- Secure by default: sensible encryption, no logging of secrets or PII, least-privilege access.
- Truthful state: error, loading, and empty states must tell the user the truth, not hide failures.

## Quality (ihsan)
- Accessibility (target WCAG AA), reasonable performance, and clear, maintainable code are part of doing the work well, not optional extras.
- Prefer clarity and correctness over clever shortcuts that mislead users or future maintainers.

## When unsure
- If a feature might involve riba, deception, or harm, pause and ask the founder rather than assuming.
- Treat these as required ethical constraints, not style preferences.
§
Sources & method

How to trust this document

Methodology

Every stage is anchored in primary narration from the major collections, al-Bukhari, Muslim, the four Sunan, and Musnad Ahmad, with gradings as commonly cited by classical and contemporary authorities. Hadith meanings are paraphrased, not reproduced verbatim. Reference numbers follow widely-used editions; minor numbering differs across prints, so verify against sunnah.com or a printed mushaf/collection.

This is researched, source-referenced material, not a fatwa. Where history is used (e.g. Uthman's well), it draws on sira alongside hadith and is offered as illustration. For anything you will act on in a binding way, especially finance, contracts, and equity structures,have a qualified scholar review it. Treat this as a v1 skeleton for scholars to correct and expand.

Sahih, authentic Hasan, sound/good Qur'an, revelation Muttafaq, agreed by Bukhari & Muslim
An open initiative

This is v1 of the skeleton.
Help build the real manual.

A living, scholar-reviewed build manual for Muslim founders, every stage, real case studies, full references. Contribute a source, a story, or a scholar's review.