قال الشيخ رحمه الله وقد رُوِيَ: أَنَّهُ لاَ بَأْسَ بِالصَّلاَةِ إِلَى قِبْلَةٍ فِيهَا قَبْرُ إِمَامٍ والاصل ما قدمناه
The Shaykh (Al-Mufid), may Allah سبحانه وتعالى support him, said: "It has been narrated that there is no harm in praying toward a (direction of) Qiblah in which there is the grave of an Imam عليه السلام. However, the foundational principle is what we have previously mentioned."