Daniel 12:1
1 “At that time Michael, the great prince who watches over your people, will arise. There will be a time of distress unlike any other from the nation’s beginning up to that time. But at that time your own people, all those whose names are found written in the book, will escape. 2 Many of those who sleep in the dusty ground will awake—some to everlasting life, and others to shame and everlasting abhorrence. 3 But the wise will shine like the brightness of the heavenly expanse. And those bringing many to righteousness will be like the stars forever and ever.
Luke 10:20
18 So he said to them, “I saw Satan fall like lightning from heaven. 19 Look, I have given you authority to tread on snakes and scorpions and on the full force of the enemy, and nothing will hurt you. 20 Nevertheless, do not rejoice that the spirits submit to you, but rejoice that your names stand written in heaven.” 21 On that same occasion Jesus rejoiced in the Holy Spirit and said, “I praise you, Father, Lord of heaven and earth, because you have hidden these things from the wise and intelligent and revealed them to little children. Yes, Father, for this was your gracious will.
Notes and References
"... Heavenly books of life are known from ancient Sumerian and Akkadian times. In the Old Testament see Exodus 32:32-33; Psalm 69:28; 87:6; Isaiah 4:3; and especially Daniel 12:1; and compare Malachi 3:16-17. In the New Testament compare Philippians 4:3; Hebrews 12:23; Revelation 3:5; 13:8. See also 1 Enoch 47:3; 108:3, 7; 1QM 12:2. The image is that of a register of citizens and is to be distinguished from the equally widespread image of God's record book of the deeds of the people upon earth (the images are at times merged). An assured place in the kingdom of God is the supreme benefit that emerges through the experience of God's grace in the ministry of Jesus. Note the contrast between Satan fallen from heaven and the names of the disciples now recorded in heaven ..."
Nolland, John Word Biblical Commentary: Luke 9:21 - 18:34 (p. 566) Word Books, 2008