Samajwadi Party member of Parliament Shafiqur Rehman Barq has been booked for sedition following his recent remarks allegedly defending the Taliban's takeover of Afghanistan and equating it with India's own freedom struggle, police said on Wednesday.