Answer:
Yes,
magic is one of the major sins.
It is narrated from Abu Hurairah (may Allah be pleased with him) that he said that the Messenger of Allah ﷺ said:
اجتنبوا السبع المُوبِقَات، قالوا: يا رسول الله، وما هُنَّ؟ قال: الشركُ بالله، والسحرُ، وقَتْلُ النفسِ التى حَرَّمَ الله إلا بالحق، وأكلُ الرِّبا، وأكلُ مالِ اليتيم، والتَّوَلّي يومَ الزَّحْفِ، وقذفُ المحصناتِ المؤمنات الغَافِلات.
Avoid the seven destructive things. They said: What are they, O Messenger of Allah? So he ﷺ said:
➊ Associating partners with Allah
➋ Magic
➌ Unjustly killing a soul whom Allah has forbidden to kill
➍ Consuming interest
➎ Consuming the wealth of an orphan
➏ Fleeing on the day of battle
➐ Slandering chaste, unaware, believing women.
The Messenger of Allah ﷺ was asked: O Messenger of Allah! How many are the major sins? He ﷺ said:
هي تسع : أعظمهن الإشراك بالله، وقتل المؤمن بغير حق، والفرار يوم الزحف، وقذف المحصنات، والسحر، وأكل مال اليتيم، وأكل الربا، وعقوق الوالدين المسلمين، واستحلال البيت الحرام، قبلتكم أحياء وأمواتا، لا يموت رجل لم يعمل هؤلاء الكبائر، ويقيم الصلاة، ويؤتي الزكاة، إلا رافق محمدا فى بحبوحة جنة، أبوابها مصاريع الذهب
They are nine, and the greatest of them is associating partners with Allah, and unjustly killing a believer, fleeing on the day of battle, and slandering chaste women, practising magic, consuming the wealth of an orphan, consuming interest, disobeying Muslim parents, and violating the sanctity of the House of Allah, which is your qibla, living and dead (that is, until the Day of Resurrection it will be your qibla). Any person who dies without having committed these major sins, and who along with that kept establishing the prayer and giving zakah, will be a companion of Muhammad ﷺ in the middle of Paradise; the leaves of the doors of that person are of gold.
Its chain of narration is hasan (good).