The Shiromani Akali Dal is considering taking legal action against the Congress and the Aam Aadmi Party (AAP) for defaming the Shiromani Akali Dal (SAD) in sacrilege cases, claimed senior SAD leaders while commenting on investigation into the sacrilege case here today.