Sub Lease Property Purchase

Some property sold on floor wise portion:

Means if a house is ground + first floor;
Ground sell separately and first floor sale separately.

My question is that is this legal/authentic?
After purchase koi problem to nahin aaye gi regarding
KDA or KBCA.