Dagestan and Ingushetia both border Chechnya, which has been devastated by more than a decade of conflict between Russian forces and Chechen rebels.