Dear Hadi,
Dear Reader,
For a nikah to be valid, the majority of scholars require: two witnesses, an agreed-upon mahr, and the consent of the bride's wali. The Hanafi school is the notable exception on the wali requirement. Let's look at each element with some of the textual and juristic basis behind it.
On witnesses and public announcement:
The Prophet (pbuh) is reported to have said, "Announce this marriage, hold it in the mosques, and beat the duff (tambourine) for it" (Tirmidhi). Although the hadith is considered hasan rather than sahih, scholars point to this as evidence that publicizing a marriage isn't just a legal formality — it's part of the purpose (hikmah) of nikah itself: to distinguish marriage from illicit relationships, protect lineage, and give the couple standing as a married couple in their community. Major Imams like Imam Malik and Imam Ibn Taymiyyah consider that a secret marriage is not valid, and obligated the presence of witnesses, stating that a secret marriage is like having a secret mistress.
There's also a report in Imam Malik's Muwatta: when Umar ibn al-Khattab was brought a marriage contracted with only one witness, he reportedly said something to the effect that this was a "secret marriage" (nikah al-sirr) that he would not permit.
The Hanafi school also requires witnesses as a condition for the contract's validity — so even in the school most lenient on the wali issue, marrying with zero witnesses at all would not produce a valid nikah in their view either.
All of this is not to say that the marriage has to be announced to everyone. It can, for example, conceivably be kept secret from some people if there will be harm if it becomes known to them, but that needs to be the limited exception and not the rule.
On the wali (guardian):
The hadith most often cited here is: "There is no marriage without a wali" (la nikaha illa bi wali), narrated from Abu Musa al-Ash'ari and collected by Abu Dawud, Tirmidhi, and Ibn Majah. A related hadith states that any woman who marries herself off without her wali's permission has a marriage that is invalid — repeated three times for emphasis in the narration. The Shafi'i, Maliki, and Hanbali schools build their requirement of wali consent substantially on these narrations.
The Hanafis take a different reading, relying partly on verses like Surah al-Baqarah 2:230, which speaks of a woman returning to her former husband without attributing the decision to a guardian, and on reports from Ibn Abbas. Their position is that a sane, adult woman may contract her own marriage, though even here, many Hanafi jurists still consider it recommended (mustahabb) to involve the wali, and some allow the wali to object if the match is clearly unsuitable (ghayr kafa'ah).
It's worth noting separately that even scholars who require wali consent also emphasize the woman's own consent as a distinct, non-negotiable condition. So wali consent was never meant to override the bride's own agreement; it runs alongside it
Given all of this, a nikah with no witnesses and no wali involvement, in our opinion, would fail to meet the requirements of every major Sunni school in at least one respect — the Hanafis still require witnesses even without the wali. And even setting aside the technical validity question, the "secrecy" itself runs against the reason the Prophet pbuh told the early Muslims to publicize marriage in the first place. Later scholars discussing marriages deliberately hidden from family — closer to what's now sometimes called "nikah al-sirr" in a contemporary sense — have generally treated it as valid at best but strongly disliked (makruh), for the same reasons: risk to lineage, inheritance disputes, and the basic wisdom of marriage being a public, acknowledged bond rather than a private arrangement.
So our advice is: even setting the fiqh technicalities aside, we would not, in good conscience, encourage a nikah that is being deliberately concealed from parents or the community.
In peace.