Viewers are lead to believe that Ra's Al Ghul died when the train de-railed and crashed into Wayne Tower in Batman Begins. But he appears to Bruce while he is in the pit during the Dark Knight Rises. ...
Both Bruce Wayne and Bane were obviously trained by the League of Shadows so it seems quite possible that their time with the League of Shadows could've coincided. Bane was in the pit for a long time ...