An analytical study is conducted to examine the influence of thermal gradients and heat sources on the onset of two-component Rayleigh–Bènard (TCRB) convection using the Darcy model. The study takes into account the effects of local thermal non-equilibrium (LTNE), thermal profiles, and heat sources. The composite structure is horizontally constrained by adiabatic stiff boundaries, and the resulting solution to the problem is obtained using the perturbation approach. The various physical parameters have been thoroughly examined, revealing that the fluid layer exhibits dominance in the two-layer configuration. It has been observed that the parabolic profile demonstrates greater stability in comparison to the step function. Conversely, in the setup where the porous layer dominates, the step function plays a crucial role in maintaining stability. The porous layer, model (iv), exhibits greater stability in the predominant combined structure, while the linear configuration is characterized by higher instability.