A nanoscale aluminium-based metal organic framework (NMOF) with high thermal stability has been synthesized, which shows high H(2) and CO(2) uptake capacities and an excellent selectivity for CO(2) over N(2) and O(2).