Puedes acceder a las variables si las colocas entre corchetes {}
{}
<?php $sql='SELECT$sql="SELECT * FROM users WHERE Patrocinador = {$_SESSION["NumCedula"]$_SESSION['NumCedula']}';"; ?>
<?php $sql='SELECT * FROM users WHERE Patrocinador = {$_SESSION["NumCedula"]}'; ?>
<?php $sql="SELECT * FROM users WHERE Patrocinador = {$_SESSION['NumCedula']}"; ?>