Ben Sira 46:20

20 Even after he died, he prophesied to King Saul how he would die. Out of the grave he spoke as a prophet, to blot out his people's wickedness.

Ben Sira 46:20 In-Context

18 and destroyed all the enemy rulers of Philistia.
19 When Samuel was about to die, he gave assurances before the Lord and the anointed king that he had never taken anyone's property, not even so much as a pair of shoes, and no one contradicted him.
20 Even after he died, he prophesied to King Saul how he would die. Out of the grave he spoke as a prophet, to blot out his people's wickedness.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.