Shemot (Exodus) 35:1-3:
וַיַּקְהֵ֣ל מֹשֶׁ֗ה אֶֽת־כָּל־עֲדַ֛ת בְּנֵ֥י יִשְׂרָאֵ֖ל וַיֹּ֣אמֶר אֲלֵהֶ֑ם אֵ֚לֶּה הַדְּבָרִ֔ים אֲשֶׁר־צִוָּ֥ה יְהוָ֖ה לַעֲשֹׂ֥ת אֹתָֽם׃
Before and after this passage about the injunction to keep Shabbat we have accounts of the building of the Mishkan. We also have a passage in Parshat Ki Tissa in Shemot 31 where the subject of Shabbat is in juxtaposition with the building of the Mishkan.
But right now we are going to discuss the verse concerning fire on Shabbat.
Making fire is one of the 39 forms of creative work used in the building of the Mishkan and therefore one of the 39 types of work forbidden on Shabbat. If all of these are derived implicitly from the placement of Shabbat next to Mishkan, then why is fire mentioned explicitly. One reason is because it is different in its penalty than the rest of the forbidden activities. That is a complex Talmudic discussion with disagreement between the Sages, and we can't go into it here. The other is that fire is forbidden in your habitations, but not in the Tabernacle or Temple. The sacrifices are brought as usual on Shabbat. But the issue of fire on Shabbat has been an area of contention between the Sadducees and later the Karaites as opposed to the Pharisees, who explicated what is now known as Rabbinic Judaism.