I'm afraid your sentence is poorly phrased and unclear. The bird's voice was speaking to all who were lying under the stars seems to me to be the most likely interpretation. The bird's voice was speaking for all who were lying under the stars is also possible.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.