The disciple Jude indicates that Michael was involved in the affairs of Israel long before Daniel’s day. After Moses ’ death, Satan apparently intended to use the corpse to further his own interests in some way, possibly by inciting Israel to commit idolatry. Michael stepped in to prevent this.
(‏ خر ٢٣ :‏ ​ ٢٠ ،‏ ٢١‏ )‏ وَمِنَ ٱلْمَنْطِقِيِّ ٱلِٱسْتِنْتَاجُ أَنَّ هذَا ٱلْمَلَاكَ ٱلَّذِي ‹ ٱسْمُ يَهْوَهَ فِيهِ › هُوَ ٱبْنُهُ ٱلْبِكْرُ .‏