Package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Name Prefix__Component Name</members>
<name>Component</name>
</types>
<types>
<members>*</members>
<name>PermissionSet</name>
</types>
<types>
<members>*</members>
<name>Profile</name>
</types>
<version>30.0</version>
</Package>
Note:
Here Component Name is the name of the component and Component is Salesforce component.
Example:
Package.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>aaBB__Sample</members>
<name>ApexPage</name>
</types>
<types>
<members>*</members>
<name>PermissionSet</name>
</types>
<types>
<members>*</members>
<name>Profile</name>
</types>
<version>30.0</version>
</Package>