SANS experiments of three-component system of anionic silica nanoparticles, anionic BSA protein and anionic SDS surfactants have been carried out without and with electrolyte in aqueous solution. In both the cases, the interaction of surfactant with protein results in formation of bead-necklace structure of protein-surfactant complexes in solution. These protein-surfactant complexes interact very differently with nanoparticles in absence and presence of electrolyte. In absence of electrolyte, nanoparticles remain in dispersed phase in solution, whereas with the addition of electrolyte the nanoparticles fractal aggregates are formed. SANS describes the phase behavior to be governed by competition of electrostatic and depletion interactions among the components solution.