The problem of light scattering by a volume scattering element in the case of a focused incident beam has been solved using an expansion of a scattering matrix in generalized spherical functions. Some particular cases are considered. The effect of incident beam geometry on spatial distribution of scattered radiation (scattering phase function) is illustrated.