"I looked at the baby, and she was stable, and I looked at the mum and she was OK," Khatib said.
"So I was like, 'Congratulations it's a girl.' Then the entire plane started clapping and cheering and was like 'Oh right, I'm on a plane and everybody is watching this'."
Khatib told the Global Times she remembered thinking "I need clamps, scissors, and if not clamps I need shoelaces."
"Luckily, there was a delivery kit in the medical kit so we were able to clamp and cut the umbilical cord," she added.
The mother was returning home to Uganda in the hopes of delivering her first child there. After the emergency birth, the baby girl was named Miracle Aisha, after Khatib.
In gratitude, Khatib took off a gold necklace she was wearing with "Aisha" written in Arabic and gave it to the mother.
"I thought I'd give it to her and she'll have a little token of the doctor that delivered her 35,000 feet in the air while flying over the Nile," she said.
Khatib recently shared a picture with the flight's new addition on Twitter. Qatar Airways also shared the news on its Twitter account.
The birth happened on December 5, but Khatib said she had been too busy treating Covid-19 patients in Toronto to post any images. Khatib usually trains medical workers in Uganda but was requested to return to Toronto to help with Covid cases.