Abdullah bin Abbas (may Allah be pleased with them both) said: Some of the Ansari Companions (may Allah be pleased with them) told me: We were sitting with the Prophet (peace and blessings be upon him) when a star was shot and it lit up. The Prophet (peace and blessings be upon him) asked: "What did you used to say in the Jahiliyyah when something like this happened?" They said: "Allah and His Messenger know best, but in the Jahiliyyah we used to think that a great man had been born tonight or a great man had died." He (peace and blessings be upon him) said: "They are not shot for anyone's life or death. Rather, when our Lord decrees a matter, the bearers of the Throne say 'Subhan Allah' (Glory be to Allah), then the people of every heaven in turn glorify Him. Then the people of the first heaven ask the bearers of the Throne: 'What did Allah Almighty say?' They tell them, and the news passes on until it reaches the lowest heaven. Then the jinn overhear some of it, mix lies into it and tell it to their allies; and whatever the soothsayers say that is true is that very word of truth."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب القسامة / 16512