Three arrested, murder plan foiled