al Sayyid Badr al din Husain bin Abdur Rahman ash Shafiee (d 855 h) al Ashari the author of the book تحفة الزمن about asking help from dead

al Sayyid Badr al din Husain bin Abdur Rahman ash Shafiee (d 855 h) al Ashari the author of the book تحفة الزمن about asking help from dead.
He said:
“والاستغاثة بالمشايخ الأموات والأحياء مما أطبق عليه المتأخرون من المتصوفة، ولم يُنقل عن السلف المتقدمين لمعرفتهم بأنّ الاستغاثة بغير الله تعالى لا تجوز ولا تنفع، قال الله تعالى: {قُلِ ادْعُوا الَّذِينَ زَعَمْتُم مِّن دُونِهِ فَلَا يَمْلِكُونَ كَشْفَ الضُّرِّ عَنكُمْ وَلَا تَحْوِيلاً} وغير ذلك من الآيات.
ولم يُنقل أن النبي صلى الله عليه وسلم أذِن لأحد من الصحابة رضي الله عنهم في الاستغاثة به في شدّة قط، وكان حاضرًا يوم أُحد فلم يملك من الأمر شيئًا كما قال الله تعالى: {لَيْسَ لَكَ مِنَ الأَمْرِ شَيْءٌ}، وإنما يُستشفع به إلى الله تعالى في تفريج الكرب وتسهيل الشدائد، وكذا بالصالحين من عباد الله فاعلم ذلك ولا تتبع جهالات المتأخرين
Asking help from shuyukh who are dead and living is the practice of the later Sufis.
It was not transmitted from the early predecessors because they knew that seeking help from other than Allah Almighty is neither permissible nor beneficial. .
Allah says
Tell them: “Call upon those whom you fancy to be (your helpers) instead of Him! They have no power to remove any affliction from you, nor can they shift it (to any other). (17 : 56) and other verses like this.
It was not reported that the Prophet peace be upon him gave permission of Istigatha from him to any of his Companions may Allah be pleased with them in hardships, and he was present on the Day of Uhud, and he had no control over the matter, as Allah says:
“You have no authority in the matter” (3 : 128)
And verily, they turn towards Allah through him to ease their afflictions and difficulties, as well as the righteous servants of Allah. Know that do not follow the ignorance of the mutakhireen (later sufis who are not from salaf and who innovated istigatha).
مطالب أهل القربة في شرح دعاء أبي حربة [مخطوط لوحة: ٨٣ ب]، وهذا المخطوط بمكتبة الشيخ أحمد محمد يوسف حربة.
Taken from
كتاب المجموع الثمين في حكم دعاء غير رب العالمين
[محمد بن عبد الله المقشي]