As Yahya and his friends try to bother their classmate, his sister Knouz threatens to inform their father. While Essam, the history teacher, explains a lesson about Ancient Egypt, the principal informs the students of the mummies transfer event and asks Essam to supervise the students.
On a school trip with Essam to see the mummies' transfer, Yahya casts the spell of resurrection on one of the kings, whereupon King Ramses II wakes up from his death and begins to talk with Yahya, who wakes up to find himself in Ancient Egypt.
As Yahya discovers that he is in the era of King Amenhotep I, many wars and battles take place, and he meets Sino, who tells him about the heroism of King Amenhotep.
After Essam does not believe Yahya when he tells him what happened, the latter and Knouz go together to the ancient era when he says the password in front of her.
Sino tells Yahya and Knouz about the famine that occurred in the era of King Djoser, after which the duo watch a new-born ceremony. While the farmers believe that Knouz is from the priests of Amun, the guards are ordered to kill Yahya, believing he is a sorcerer.
When Yahya shares his thoughts with King Djoser and the idea of building the Step Pyramid, the king orders engineer Amenhot to build it,and decides to make Yahya one of his advisors. But when one of the advisors discovers the matter and plans to take revenge on Yahya, the latter tries to escape.
While Knouz discovers that all the videos she filmed have been deleted, Hosni confirms to Essam what happened with Yahya and Knouz, and they head to the museum.
As Sino tells Yahya and Knouz about King Seqenenre Tao, Hosni decides to search for gold leaving everyone thinks of his disappearance. Meanwhile, Yahya goes to the king to warn him against war.
The guards arrest Hosni when he steals a statue. As King Seqenenre Tao dies, Yahya meets King Ahmose and tells him about his future victories and his elimination of the Hyksos.
As Essam asks Yahya and Knouz to write a book about what they saw in the ancient era, they go back to the old time when they fail to find Hosni, whom Yahya has saved from prison.
As Sino tells the story of King Thutmose II and Queen Hatshepsut to Yahya and Knouz, they go to the temple of the queen. He tells Yahya how she assumed power after exiling Thutmose III and was crowned as the queen of the country. When Yahya appears to the queen, she orders that he be killed.
As Merytre-Hatshepsut rescues Yahya by taking him out of the coffin and helping him disguise himself as a pharaoh, he goes to Sino and asks him to enter the palace again, after which he thanks Merytre-Hatshepsut for saving him.
When King Thutmose III returns to Ancient Egypt and demands his throne, Yahya decides to stay to know what will happen in this conflict and to watch the wedding of King Thutmose III and Queen Merytre-Hatshepsut.
As Thutmose III is crowned king of Ancient Egypt, he appoints Rekhmire as vizier. Yahya appears to them and tells the king that there are 330 princes plotting to turn against him and fight him, upon which the king stipulates that Yahya be there at the time of the battle.
When Merytre-Hatshepsut reveals Yahya's true identity to King Thutmose III, Yahya returns to the present time and confronts his parents because of his delay. Meanwhile, the police arrest Hosni for stealing a statue.
Yahya takes his father to Ancient Egypt to prove what is happening with him, and Sino accompanies them to where the pyramid of King Khufu is built. Knouz asks for drawing tools to draw what she sees.
As Yahya decides to warn King Khufu about the theft of his belongings from his pyramid, Knouz is arrested for drawing statues. Yahya appears to the king to convince him to change his burial place and prove this through a recorded video clip.
Yahya persuades King Khufu to change the location of his tomb, and they try to save Knouz, who fell into the Nile, with Sino's help. When they return to the present time, Essam takes them to the Pyramids. Yahya gets kidnapped by a car in front of the school.
As it turns out that Hosni is the one who kidnapped Yahya, he asks the latter to go with him to the ancient world. Professor Essam convinces Yahya to meet the demands of Hosni, and Sino explains to them the era of King Tutankhamun.
Tutankhamun's wife asks the King of the Hittites to send one of his sons to marry him. Hosni steals Tutankhamun's property. When Yahya tells Horemheb about the queen's plan and advises him to take over the rule, Horemheb decides to appoint him as his advisor. Yahya tells Sino what happened with Knouz.
Horemheb finds out about what Hosni did, while Sino is upset that Yahya hid the truth. When Horemheb learns of their plot, they arrest Hosni. As Yahya returns to the present time, the gang is arrested and Knouz is saved.
Yahya advises Knouz to draw what she sees in their adventures and publish it on social media. Yahya tries to go to the ancient era, but fails, after which he asks Ramses II for forgiveness.
Yahya and his family watch Ramses II's attack on the pirates. When Yahya goes to the king, the latter invites Yahya's family for lunch, starts telling them about his assumption of power, and offers them a tour of Ancient Egypt on the occasion of the Opet Festival.
The mother suggests opening a fava bean shop in Ancient Egypt. When Ramses II orders preparations for the Hittites war, Yahya and Sino go with him.
After Ramses II learns of the plot of the enemy and starts the war, he wins the Battle of Kadesh. Yahya witnesses the success of his family's project. Ramses II starts thinking about a peace treaty with the Hittites, and Yahya attends the signing of the treaty.
Yahya and Essam go on a new adventure, and Sino begins to explain the existence of the Scarab and the gifts of marriage during the reign of Amenhotep III and Queen Tiye. Also, he explains to them how they both met and found the mummy of Amenhotep II.
Yahya informs Queen Tiye that Amenhotep III wants to marry her. Sino and Essam explain to Yahya the role of Queen Tiye, whom Yahya asks to help Amenhotep III, and she asks that a lake be dug inside the royal palace. As Amenhotep III dies, Amenhotep IV takes over.
Yahya tells Queen Tiye about the conflict of Amenhotep IV, who decides to convert the temples of Amun to Aten. As Sino and Essam explain Akhenaten's governance, the priests of Amun capture Yahya, Essam, and Sino.
Yahya, Essam, and Sino return to the present time. Sino goes with Yahya to his house and begins to discover the matters of the present time. Sino goes with Yahya to the pyramids and tells him about modern Egypt.
Yahya and Knouz begin to tell Sino about the modern civilization of Egypt through a documentary video. Essam surprises Yahya that he finished writing his book which is released at the book fair. As they take Sino to the Great Egyptian Museum, he bids them farewell and goes back to the old time.