Ben Ish Hai, Halachot 2nd Year, Shoftim
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
מי שנטרפה דעת אביו או אמו משתדל לנהוג עמהם כפי דעתם עד שירוחם עליהם ואם אי אפשר לו לעמוד מפני שנשתנו ביותר ילך לו ויניחם ויצוה לאחרים לנהגם כראוי: