Metal–organic frameworks (MOFs), renowned for their porous and tunable functionalities, hold significant potential for enhancing perovskite photovoltaic. However, the influence of MOF, particularly those with balanced cations in the pores, on the conversion of bottom‐layer PbI2 and the distribution of MOFs within perovskite remains underexplored. Herein, a newly synthesized Yttrium (Y)‐MOF material is introduced, featuring dimethylamine (DMA) as balanced cations within its pores and strong absorption in UV regime, to modify perovskite films. Y‐MOF, rich in oxygen and nitrogen sites, and featuring DMA within its pores, can passivate uncoordinated Pb2+ in perovskite. Scanning electron microscopy (SEM) and grazing incidence wide‐angle X‐ray scattering (GIWAXS) analysis of the top and bottom surfaces for pristine and Y‐MOF‐assisted perovskite samples reveal that the presence of PbI2 in the Y‐MOF‐assisted perovskite films is negligible. In situ UV–vis analyses demonstrate that the incorporation of Y‐MOF decelerates the crystallization kinetics of perovskite, facilitating the development of larger perovskite grains. Moreover, GIWAXS experiments conducted at different angles reveal the predominant bottom distribution of Y‐MOF within the perovskite, which effectively mitigates the impact of ultraviolet light on the perovskite. Consequently, the Y‐MOF‐assisted devices to achieve an efficiency of 24.05% with improved stability especially the UV‐light stability.