A five-judge constitution bench of the Supreme Court headed by Chief Justice Ranjan Gogoi on Friday referred the politically sensitive Ram Janmabhoomi-Babri Masjid land dispute case for mediation by a panel headed by former apex court judge F M I Kallifulla and gave it eight weeks to complete the process.