Masechet Middot, Perek Aleph, Mishnah Aleph. The Torah commands the Jewish people to build a sanctuary for Hashem. The Pasuk (verse) says, “Ve'asu li Mikdash veshachanti betocham”: Make for me a sanctuary and I'll dwell amongst them. This is a positive commandment to build a house for Hashem where korbanot (offerings) are going to be offered, where all service of Hashem is going to happen, and that will be a meeting place, a pilgrimage spot for the Jewish people on the Regalim (pilgrimage festivals), Pesach, Shavuot, and Sukkot.
Before Shlomo HaMelech built the Beit HaMikdash (temple) in Yerushalayim, the Mishkan, a temporary structure, was built in various places, including Gilgal for 14 years, Shiloh for 369 years, and then Nov and Giv'on for a total of 57 years. Then Shlomo HaMelech laid the foundation for the first Beit HaMikdash in Yerushalayim, and from that point on, it became the only spot where we could have the Beit HaMikdash. After 410 years of service of Hashem in the Beit HaMikdash, Nebuchadnezzar and Bavel destroyed it. During the Galut (exile), a certain vision of what the future temple should look like was seen. The temple was going to be different from the first Beit HaMikdash, but when Bnei Yisrael (Jewish people) returned, they tried to build this new Beit HaMikdash. For whatever reason, the instructions were too hard for them to understand, so they built a Beit HaMikdash according to the original plan of Shlomo HaMelech, like the first temple, but it had several different changes based on Yechezkel.
This Masechet (tractate), Masechet Middot, will give the layout of that second Beit HaMikdash. The year 3408—3,408—is the year that the Beit HaMikdash was built. In 3741, Herod decided to expand the Beit HaMikdash, and there was a renovated version of the Beit HaMikdash. Which exact Beit HaMikdash we're talking about in this Masechet is a matter of Machloket (dispute). The second Beit HaMikdash stood for 420 years, and then it was destroyed by the Romans on Tisha B'Av in the year 70 CE. So even though we don't have the Beit HaMikdash now for thousands of years, there's not a day or tefillah (prayer) that goes by when Am Yisrael (Jewish people) is not pleading with Hashem to return us to Yerushalayim and for us to see the Shekhinah (Divine Presence) dwell once again in the Beit HaMikdash.
The reason the Rambam gives for the whole Masechet here is for us to remember the design and schematics of how the Beit HaMikdash was built. And we'll have the ability to rebuild it in the third Beit HaMikdash. Bimheirah beyameinu, Amen. Rashi and Tosafot, on the other hand, say no. The third Beit HaMikdash is going to fall from the Shamayim (heaven), already built. We're not going to have to build it ourselves. So it's not a practical reason to study this Masechet, but it's much more of a yearning that it should create within us; it should motivate us. When we learn about the Beit HaMikdash, the layout, what happened there, the schematics, all the little details about the house of Hashem should motivate and inspire us to change our ways, to do Teshuvah (repentance), and to bring Mashiach Tzidkeinu, Amen, when we will rebuild and have the Beit HaMikdash back in our lives.
The Mishnah says: Each night, there were three Kohanim (priests) and 21 Levi'im (Levites) who would stand guard in the Beit HaMikdash. This was a Torah command that the Kohanim and Levi'im do this. It was not to guard things from thieves or to make sure that valuables weren't taken, but to bring honor to the Beit HaMikdash by having people there keeping watch at all times. The three spots where the Kohanim would stand guard were Beit Avtinas, Beit HaNitzotz, and Beit HaMoked. One Kohen (priest) stood in the chamber of Avtinas. Avtinas was the name of a family who prepared Ketoret (incense) in this room, so they would stand here in that spot. Second, they would be by the Beit HaNitzotz, the chamber of the spark, which was above the spark gate, as we'll learn more later on in the Masechet. Then there was Beit HaMoked, the hall of fire, which was built into the northern wall of the courtyard.
The Levi'im stood guard in 21 places. Five Levi'im stood at the five gates of the Temple Mount. Four Levi'im stood at the four corners of the Temple Mount, on the inside of the walls. Five Levi'im stood at the five gates of the courtyard. Four Levi'im stood at the four corners of the courtyard, on the outside of the walls. One Levi (Levite) stood in the chamber of the offering, which was one of the small rooms within the hall of fire where the animals were kept. One Levi stood in the chamber of the parochet, a large room where they would make the curtains that hung in front of the Kodesh HaKodashim. And one Levi stood in the chamber of the Ark cover, which is west of the Kodesh HaKodashim, the location where the Ark was...

