Her parents are severely alarmed at her first incident of accidental magic, when she’s a baby and summons the apple slice right out of her distracted mother’s hand. They read Quran over her and throughout the house to ward against djinn, but the accidental magic continues, so the write ayat-ul qursi and put it in a locket for her to wear to protect her from the evil eye and sihr.
Nothing stops, and since she doesn’t act possessed, they decide its just a miracle from God, makes sure she reads Quran and does her prayers, and make dua, and she grows up well-adjusted and slightly worried about this ability of her. Her parents make sure she doesn’t get a big head and think she’s a saint or something.
Then she turns 11, and McGonagall comes to tell them about Hogwarts. The parents are sceptical and demand some kind of proof that this woman isn’t about to spirit their daughter away. McGonagall is taken aback that the issue for these Muggles isn’t the magic so much as the ‘invisible boarding school we can’t tell is safe or not’.
So she gathers other Muggle parents to testify that their daughter is going to a real and proper school, and that’s that, she’s off to Hogwarts. She gets sorted into Ravenclaw (but almost into Slytherin for all that ambition she has).
Through the years, though, things she never considered comes up. Like how she’s basically a vegetarian at Hogwarts in her first year cause the house-elves don’t know about halaal meat, or how everyone looks at her funnily when in Third Year she gets special permission from Dumbledore to break from classes for prayer (and she learns to be quiet for Fajr when her roommates complain).
Or how Madame Pomfrey gets worried about her fasting in Ramadan, and the house-elves are insulted when she won’t eat their food until she explains, and then stuff her full of food half an hour before Fajr and at Maghrib.
Or that she takes to healing the muggle way because not all those potions have ingredients that she can ingest, and she talks to a sheikh for advice on if salamanders and bat eyes are actually halaal.
And then its a struggle to be the only hijabi in the school, and she makes friends with the Baron so he stops Peeves from trying to pull it off all the time.
And how annoying it is when the only holidays that get celebrated are Christian ones, and that’s when she makes friends with Anthony Goldstein, who agrees that there should be more religious diversity so he can really enjoy Hannukah at school.
She gets in trouble for saying her spells in Arabic, to the consternation of all her professors who don’t understand the language and insist that its dangerous if they can’t govern her spell-casting.
So she starts a duelling club, and Padma joins her and casts spells in Punjabi, and Anthony who does his spells in Hebrew (they’re not making up spells, just changing the language, and isn’t it funny that the spells are always a teensy bit different?), and others trickle in, and new magic gets practiced under the supervision of a Ministry hire who encourages them and speaks sixteen different languages.
Then people claim she’s a frigid freak because she keeps turning down boys who want to date her (even though she really likes them), until she puts the gossipers in the Hospital Wing, and then no one says anything after that.
She worries about the practical non-existence of Muslims in Wizarding Britain, and will that affect the jobs she can get, because wizards and witches are a bit funny about religion?
And she and Padma and Parvati (whose sister introduced her to her awesome housemate) and Anthony start organizing field trips over holidays to all sorts of other wizarding communities, where lo and behold it turns out that they’re not the only ones to have ever spoken their spells in a language better suited to them, and they get to learn about their cultural wizarding communities, and how they’re similar and different from the muggle ones.
In Wizarding Port-au-Prince, Haiti they see proud witches who can’t afford to replace their wands smashed in the violence begin to combine their great-grandparents’ voodoo with modern magic. Patois and French mingle to produce an otherworldly magical language that brings monsters to life… and converts them to good.
In Wizarding Rabat, Morocco they meet a melange of wizards and witches whose magic mixes the precise French with the dancing Spanish and ties it all in with the romantic Arabic. It is here that she finds validation for her Arabic spells. Old witches who’ve been practicing since before this “modern magic nonsense” show her how the fact that Arabic uses roots in the language can connect one spell with another to produce new ones far more effectively.
Their returns to Hogwarts are often triumphant with fresh finds and more and more students start coming to their study groups after classes, and much of her self-doubt - ephemeral but alive - starts to dissipate.
But things start happening, see, things that even she - in her sharp-tongued, quick-wanded, opinionated self - can’t explain, and she starts to wonder.
Things like a single but vital page torn out of her Potions book that causes her to lose marks on an exam. How her large collection of beautiful skirts and dresses starts to dwindle, or re-appear with the bottoms slashed off. Or that one shifty-looking student in her study group who never really looks her in the eye (shifty? what was she now, paranoid?).