1. IntroductionToday, with the spread of inventions and discoveries in the science of chemistry, a great impact on human civilization is observed. Because of the importance and the important role of chemistry in today’s societies and various industries, it poses a great threat to human health and the environment due to chemical processes. There are various methods used today to synthesize materials that must be compatible with the human body. However, the synthesis methods employed have environmental problems [1, 2].One of the most important methods of material synthesis is the green synthesis method. Green chemistry is the design of chemical products and processes that reduce or eliminate the use and production of harmful substances to human health and the environment. This is one of the most important methods of synthesis because the most important goal of green chemistry is to reduce the pollution caused by the synthesis as well as the use of biocompatible materials and renewables [3]. Other goals of green chemistry are to use healthier chemical processes rather than current trends or to react in safer conditions, to produce healthier products and to increase energy efficiency and reaction efficiency. They also design processes today that require less auxiliary materials, especially chemical solvents [4]. Sometimes chemical and biochemical reactions are carried out together to make the final process healthier and to reduce their side effects to the extent possible [5-7]. Therefore, in this paper, in addition to using biocompatible and renewable materials, the synthesis method has been designed and selected in such a way that it has biological processes and minimal biological side effects. As well as nanocomposites synthesized in this way, it can separate environmental pollutants. For thousands of years, dyeing materials have been widely used in industries such as textiles, dyeing, pigments and many other applications [8].As a result, dyes are one of the main sources of environmental contamination that can lead to skin diseases, respiratory problems and the risk of cancer [9,10]. For this reason, it is important to effectively remove the dyes from the sewage and to ensure that the water is discharged and treated and discharged to the current waterbed. Various methods have been used so far to effectively remove hazardous substances from aqueous solutions; These methods include biological, physical, oxidation, electrical coagulation, photocatalytic, chemical degradation [11-14]. Particularly important are ternary magnetic nanocomposites, containing metal-organic frameworks, magnetic ferrite nickel and silica nanoparticles.In recent years, the use of metal-organic frameworks (MOFs) and magnetic nanocomposites has become significantly important due to their application in various fields such as sorbents [15], biomedicine [16], magnetic fluids [17], catalysts [18], biotechnology [19], information storage and environmental correction [20,21]. Metal-organic frameworks are a group of porous cordial polymers that have various metal centers and bridges that led to the formation of various structures [22-25]. Among magnetic nanoparticles, ferrite nanoparticles due to their special properties such as ease of synthesis, high volume surface area, magnetic properties, the ability to easily and quickly extract different species just by applying an external magnetic field can be used in the separation and extraction of various organic and inorganic species, especially environmental pollutants [26-30].By reducing the size of magnetic nanoparticles, the surface-to-volume ratio increases and as a result, their reactivity has increased, and their magnetic properties are more affected by the surface. Therefore, magnetic nanoparticles are more reactive than mass magnetic particles. Therefore, in various applications, they must be protected against corrosion and other reactions [31]. The presence of a protective layer as a shell on a nanoparticle, in addition to protecting the nanoparticles from reactions, prevents them from sticking together and clumping [32]. In this research, silicon (SiO2) has been used as a coating. This coating not only stabilizes nickel ferrite nanoparticles in solutions, but also allows the formation of bonds on the surface of nickel ferrite nanoparticles by creating different ligands [33].For this reason, magnetic nanoparticles were used to synthesized nanocomposite acting smart and to be controlled by an external magnetic field. Because the magnetic nanoparticles have a low surface area, they absorb a small amount of environmental pollutants, so metal-organic frameworks were placed on them to increase the surface area and maximize the adsorption capacity of these particles [34-36]. One of the applications of metal-organic frameworks is their use in the absorption and separation of gases and liquids [37,38].Abdi et al. synthesized magnetic metal-organic framework nanocomposite (ZIF-8@SiO2@MnFe2O4) by co-synthesis and after characterization to removal the cationic dye malachite green and the anionic dye methyl orange. They found that the nano composite magnetic metal-organic framework synthesized can be remove and absorb 92.5% of malachite green, cation dye and 5.9% of methyl orange dye from dye solutions [39]. Thi Minh et al. synthesized the magnetic metal-organic framework (Fe3O4@MIL-101) and then proceeded to photo catalytically degrade the methylene blue dye [40]. Tingting et al were able to remove rhodamine B6 dyes from the dyeing wastewater by synthesizing single-phase porous magnetic composite Ni@MOF-74(Ni) [41].Hosseinzadeh et al by synthesizing the metal-organic framework (Fe-BTC), they removed the methylene blue dye. The metal-organic framework synthesized in the presence of hydrogen peroxide, UV light and ultrasonic device showed high photocatalytic properties and found that the dye removal mechanism follows Fenton’s method [42]. When ferrite magnetic nanoparticles are introduced into the substrate of metal-organic frameworks, they induce the magnetic properties of the resulting nanocomposite. Consequently, the synthesized magnetic nanocomposite acts as a stronger inhomogeneous adsorbent and is easily used for the removal of toxic dyes and pollutants and, ultimately, easily separated with an external magnet, which saves time, energy and costs.In this paper, NiFe2O4@SiO2@HKUST-1 adsorbent was prepared by in in-situ self-assembly method, which is one of the green synthesis methods, and identified by elemental analysis. Synthesized samples application in methylene blue pollutant adsorption and influence of time and pH factors were investigated. Adsorption isotherms, kinetics and adsorption mechanisms and other mentioned thermodynamic parameters on magnetic nanocomposites were thoroughly investigated and analyzed.